time

Syntax: %time(format)

return the current date/time. If format is nil (or missing), a long format is used. Otherwise, use characters such as dd, mm, mmm, yy, hh, nn, ss, etc in the format string to return that part of the current date/time.

Example:

The result of this function partially depends on the systems language settings

#SAY %time()
equivalent to %time("ddd mmmm d", "yyyy h:nn:ss am/pm") and displays the time in the uses the longest possible format
#SAY %time(c)
displays date and time (in number-format)
#SAY %time("aaa aaaa")
displays the day of the week in short and long format
#FORALL {a|d|m|y|e|g|t|h|n|s} {#SH %i: %time(%i) | %time(%i%i) | %time(%i%i%i) | %time(%i%i%i%i)}
outputs a table for all length-dependent parameters %time
#SH %time("hh#nn#ss")
(with German localization) displays eg.: 18#26#13


Contents sum trigger