convtime - luxembourg/muxcode-clm GitHub Wiki

CONVTIME() (continued)

If a second argument is given, it is the <zonename>:

local - indicates that a conversion for timezone/DST of the 'local' server time should be applied (the default).

utc - indicates that no timezone/DST conversions should be applied. When used this way, there is a unique one-to-one relationship between an integer and it's corresponding text-string which may be useful for handling other time zones and fictional settings.

<precision> determines the number of fractional seconds shown. By default, no fractional seconds are shown.

{ 'help convtime3' for more }

CONVTIME() (continued)

Examples: > say time() You say, "Wed Jun 24 10:22:54 1992" > say convtime(Wed Jun 24 10:22:54 1992) You say, "709406574" > say convtime(Wed Jun 24 10:22:54 1992, utc) You say, "709381374" > say convtime(June 24th 1992 10:22:54.0001am Z) You say, "709381374" > say convtime(Wed 24 Jun 1992 10:22:54 -0700) You say, "709406574" > say convtime(2001-01-01T100000Q) You say, "978357600" > say convtime(-1605-120T123456M) You say, "-112805738704" > say convtime(23456W12-1T123456T) You say, "678039276896"

Related Topics: convsecs, secs, time