Thursday, February 20, 2014

Military DateTime in SQL Query

This is how I got my DateTime to have Military time.

SELECT CONVERT(VARCHAR, GetDate(), 101) + ' ' + CONVERT(VARCHAR, GetDate(), 108)

No comments:

Post a Comment