time()
time()
Section titled “time()”time()
time(<timezone>)
time(<dbref>)
time() gives you the current time on the MUSH. By default this is the time on the server the MUSH is running on, and not the time of the caller.
With an argument, time() returns the time in the specified timezone, or in the timezone set in the specified object’s TZ attribute; for more information, see timezones.
utctime() is an alias for time(utc).
Timezone examples
Section titled “Timezone examples”Examples (Assuming the server is the USA’s Pacific timezone):
> think utctime()Fri Mar 02 03:19:54 2012> think time(utc)Fri Mar 02 03:19:54 2012> think time()Thu Mar 01 19:19:54 2012> think time(-8)Thu Mar 01 19:20:25 2012> think time(US/Pacific)Thu Mar 01 19:20:25 2012::: seealso