Gettimedate: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
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...
 
One (talk | contribs)
No edit summary
Line 1: Line 1:
'''getdate''' <sec> <min> <hour> <mday> <mon> <year> <wday> <yday>
Gets the time and date into gamevars:
Gets the time and date into gamevars:


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


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]

Revision as of 11:34, 4 May 2009

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

Gets the time and date into gamevars:

<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