Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Ftime (MPI)

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
(Fixed up the formatting, added 'Timefmt' and rearranged some text.)
Line 4: Line 4:
{ftime:format,tz}
{ftime:format,tz}
{ftime:format,tz,secs}</mpi>
{ftime:format,tz,secs}</mpi>
-
Returns a time string in the format you specify.  See 'man timefmt' for the %subs that you can use in the format string.
+
Returns a time string in the format you specify.
-
If specified, tz is the number of seconds offset from GMT. If specified, secs is the systime to use, instead of the current time.  <mpi>{ftime:%x %X %Y,{tzoffset},0}</mpi> will return the date and time for systime 0, for the local time zone of the server.
+
If specified, tz is the number of seconds offset from GMT. If specified, secs is the systime to use, instead of the current time.  <mpi>{ftime:%x %X %Y,{tzoffset},0}</mpi> will return the date and time for systime 0, for the local time zone of the server.
 +
 
 +
See [[Timefmt]] for the %subs that you can use in the format string.

Revision as of 04:42, 31 March 2007

ftime

{ftime:format}
{ftime:format,tz}
{ftime:format,tz,secs}

Returns a time string in the format you specify.

If specified, tz is the number of seconds offset from GMT. If specified, secs is the systime to use, instead of the current time.

{ftime:%x %X %Y,{tzoffset},0}
will return the date and time for systime 0, for the local time zone of the server.

See Timefmt for the %subs that you can use in the format string.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox