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()
#SAY %time(c)
#SAY %time("aaa aaaa")
#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)}
#SH %time("hh#nn#ss")
![]() ![]() ![]() |