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

i need to change a time format from

Status
Not open for further replies.

Delz

IS-IT--Management
May 13, 2002
5
GB
i need to change a time format from 235826.09 secs into time past 00.00.00 (12 o'clock +) hh/mm/ss/

I can't find a function to do this i want to say this is 23:58:26:00

Please help i've almost there
 
Hello Delz,

Supposing your time format is a string, you would need an expression like this:

=SubStr(<variable>,1,2)&&quot; : &quot;&SubStr(<variable>,3,2)&&quot; : &quot;&SubStr(<variable>,5,2)&&quot; : &quot;&&quot;00&quot;.

If it is not a string, then first convert it to a string using FormatNumber()

blom0344
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top