Convert Standard time to Military time in SSRS

  • I am new to SSRS (SQL Server Reporting Services) and am having trouble converting time/day from;

    ie. Standard Time = "2/22/2010 8:20:06 PM"

    to Military Time = "2/22/2010 20:20:06 "

    I have been trying to perform this conversion using an Expression for the date field I am converting, but with no luck.

    Can anyone help?

  • SELECT CONVERT(VARCHAR, GetDate(), 101) + ' ' + CONVERT(VARCHAR, GetDate(), 114)

    See CONVERT in BOL.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply