on 04-09-2009 4:00 PM
How to convert seconds to days,minutes,hours.
Hi try this
Create a formula:
@seconds:
numberVar D:=int(Truncate ({Seconds_Field} /(24*60*60)))*24*60*60;
numberVar H:=int(Remainder(Truncate ({Seconds_Field}/(24*60*60)),60))*60*60;
CStr(int(Truncate ({Seconds_Field}/(24*60*60))),"##") & " D " &
CStr(int(Remainder(Truncate({Seconds_Field}/(24*60*60)),60)),"##") & " H " &
CStr(int(Truncate({Seconds_Field}-D-H)/60)),"##")& " M " &
CStr(int(remainder(Truncate({Seconds_Field}-D-H)),60)),"##") & " S "
Regards,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.