Date & Time
minute
$minute
Returns the current minute (0 to 59). Resolved at runtime.
Syntax
$minute
$minute
The function $minute returns the current minute (from 0 to 59).
Important: This function uses the special identifier
((minute))which is resolved at runtime.
Syntax
$minute
Note: This function takes no parameters.
Return Value
A number between 0 and 59 representing the current minute.
Examples
Simple Minute
Current minute: $minute
Combined hours and minutes
The time is $hour:$minute
Formatting with a leading zero
$if[$minute<10]
The time is $hour:0$minute
$else
The time is $hour:$minute
$endif
Notes
- Use
$timeto obtain the full time in theHH:MM:SSformat. - Combined with
$hourand$second, this function allows you to create custom clocks.