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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting a String Field to Military Time

Status
Not open for further replies.

LAG813

Technical User
Sep 5, 2002
1
US
Hi,
I have been trying to convert a string field to add leading 0's for military time. Everything I have tried has failed. The latest formula tried was:
ToText({v_udf_Case_Record.entertime_or},"0000")

The formula editor, when checking for any errors, tells me that this statement has too many arguments...

What should I do next?
LAG813
 
If it's a string field with a time format as in:

"11:23:58"

Convert it to time in a formula with:

time({v_udf_Case_Record.entertime_or})

and then you can place this formula in your report, right click it and select format field and set it for 24 hour.

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top