Use this function to format a time value. This function demands the following parameters:
%Format.Time(time[ms],format)
In this case the parameter
time has to be a time value measured in milliseconds. The parameter
format is a string and can contain one of the following symbols for formating the time value:
d -> days
h -> hours
m -> minutes
s -> seconds
n -> milliseconds
Use repeating of format symbols to set the minimum length of the return value.
All other chars are returned without processing.
Example:
%Format.Time(%System.Uptime(),'hh:mm:s')
This function call formats the system uptime as hours:minutes:seconds. Hours and Minutes are returned with a leading zero if they have a value below 10 because the belonging format symbols are found twice in the format string.