Gettimedate

From EDukeWiki
Revision as of 14:27, 23 August 2008 by 86.6.123.17 (talk) (New page: Gets the time and date into gamevars: <pre> getdate <sec> <min> <hour> <mday> <mon> <year> <wday> <yday> sec seconds after the minute min minutes after the hour hour hours sin...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Gets the time and date into gamevars:

getdate <sec> <min> <hour> <mday> <mon> <year> <wday> <yday>

sec     seconds after the minute
min     minutes after the hour
hour    hours since midnight
mday    day of the month
mon     months since January
year    years since 1900
wday    days since Sunday
yday    days since January