Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting seconds to HH:MM:SS
Message
From
30/10/2008 06:07:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/10/2008 16:00:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01358171
Message ID:
01358277
Views:
16
>Hello again.
>How can I convert a number, say 52889, which represents seconds, to a HH:MM:SS format?
>
>Thanks in advance
lnSeconds = 52889
?  transform( right( ttoc( ctot('0') + m.lnSeconds,1), 6), '@R 99:99:99')
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform