time12Text

Prev Next

Description

Type: Text

Returns the current time in 12 hour (h:mm tt) format.


Examples

// display the current time (12 hour) in the debugger
debug.log(tools.time12Text);
JavaScript

Remarks

Use this property when you need a Text-based representation of the current time.

Normal DateTime comparisons and operations cannot be performed on Text objects.