Difference between revisions of "Gettimedate" - EDukeWiki

# Difference between revisions of "Gettimedate"

From EDukeWiki

Revision as of 00:50, 5 February 2011 (view source) The Commander (talk | contribs) m ← Older edit | Revision as of 01:04, 5 February 2011 (view source) TX (talk | contribs) m Newer edit →
Line 12: | Line 12:
| <yday> days since January |  | <yday> days since January
− | A tutorial on how this command can be used can be viewed here, [[How_to_make_a_clock|Make a in-game clock]] | + | A tutorial on how this command can be used can be viewed here: [[How_to_make_a_clock|make an in-game clock]]
| [[Category:EDuke32 specific commands]] |  | [[Category:EDuke32 specific commands]]

## Revision as of 01:04, 5 February 2011

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

A tutorial on how this command can be used can be viewed here: make an in-game clock

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Gettimedate&oldid=9310"
Category:

- EDuke32 specific commands