Purpose:
Returns the current time in string format.
The following formats are available:
Placeholder | Description |
---|---|
%h | Hours in 24 hour format |
%H | Hours in 12 hour format |
%m | Minutes |
%s | Seconds |
%P | Display the part of day (A.M. / P.M.) |
%p | Display the part of day (a.m. / p.m.) |
Parameter:
String
Return value:
String
Example:
Time$("%02h:%02m:%02s") Result: "18:30:45"