Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert Time to Military Time

Status
Not open for further replies.

hwaterboys

Technical User
Mar 31, 2003
7
US
I am using Crystal reports 11. I am trying to convert the time to Military time. The time field is a string. When i right click on the time field and click on format field i do not get the screen to change the formatting. The time is currently displayed as 2:00 PM and I want it to display as 14:00. Thanks for the help in advance!
 
Create a formula to use instead of the field:

time({yourtimefield})

Then you can use the time formatting options to convert it to military time.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top