|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Virtuoso |
Anyone know a good Routine to convert seconds into Hour/Minutes/Seconds? I don't know why my Brain is having a problem with this?
Prarie |
||
|
|
Master |
Divide by 60 gives you minutes divide minutes by 60 gives you hours
MINUTES/I9 = SECONDS/60; HOURS/I9 = MINUTES/60; |
|||
|
|
Virtuoso |
Well yes that works...I was just thinking of some routine...that made it all come together.
If you have 244 seconds...I need it to read 00:04:04 |
|||
|
|
Master |
So easy in APL. Tedious in Focus.
hhmmss/I6= INT( seconds/3600 ) * 10000 + INT( IMOD(seconds,3600,'I4')/60 ) * 100 + I MOD(seconds,60,'I2'); time/A8=EDIT(hhmmss,'99:99:99') This message has been edited. Last edited by: <Mabel>, |
|||
|
|
Virtuoso |
That Works! Thanks so much...I knew there was some trick out there somewhere.
|
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

