User manual

Automation Protocol Easytext Commands
Miranda Technologies Ltd Page 240
Internal Datasources
Internal datasources cannot be overridden or deleted: This is a list of internal
datasources in the version of software, along with any parameters
TIME
Returns the current time of day.
The option ‘FORMAT’ determines the format. All characters in the format
are copied to the output, except the following ones, which are interpreted to
insert time information
i Insert hours - 12 hour clock, leading zeroes.
h Insert hours - 12 hour clock, no leading zeroes.
H Insert hours - 24 hour clock, leading zeroes.
M Insert minutes - 2 digits, leading zeroes.
S Insert seconds - 2 digits, leading zeroes. Use of this field will only
work in very small, simple templates.
A Insert ‘AM’ or ‘PM’ accordingly.
a Insert ‘am’ or ‘pm’ accordingly.
Examples:
|TIME:FORMAT=”h:M”| // “09:15”
|TIME:FORMAT=”i:M.S”| // “9:15.42”
//‘S’ not recommended
The OFFSET option allows time-zone adjustments. The offset is specified in
seconds.
|TIME:OFFSET= -3600 | // “08:15”
|TIME:OFFSET= 3600 | // “10:15”