Hello,
I'm trying to format a numeric value (in seconds) to the format
h:mm:ss (hours:minutes:seconds).
Example: 89 seconds should formated as 0:01:29
The value is not a date/time value - so I'm not able to use time formatting.
Is there a solution available - any ideas?
best regards
-flyall-
Hello flyall,
This should do what you want:
=Format(Floor(Fields!NumField.Value / 3600), "0")
+ ":"
+ Format(Floor(Fields!NumField.Value / 60) mod 60, "00")
+ ":"
+ Format(Floor(Fields!NumField.Value mod 60), "00")
Hope this helps.
Jarret
No comments:
Post a Comment