TIME - Format a time (Reports & Settings Report Generator function)
From Catalyst
Syntax
$TIME{time, unit}
Description
Format a full time string.
Use the $SUBSTR function to extract time elements. |
|
Parameters
- time
- A numeric parameter that can be omitted.
- The time in numeric format. If omitted, the current machine time is used.
- unit
- A text parameter that can be omitted (it defaults to "S").
- Is the given time in Minutes or Seconds?
- M
- Minutes
- S
- Seconds
Returns
A text value. The formatted time text in the following format: dd:hh:mm:ss, where:
- dd
- Days.
- hh
- Hours.
- mm
- Minutes.
- ss
- Seconds.