code/__DEFINES/time.dm ![code/__DEFINES/time.dm0](git.png)
MIDNIGHT_ROLLOVER | number of deciseconds in a day |
---|---|
ROUND_TIME | displays the current time into the round, with a lot of extra code just there for ensuring it looks okay after an entire day passes |
STATION_TIME_PASSED | Returns the time that has passed since the game started |
CURRENT_STATION_YEAR | Define that just has the current in-universe year for use in whatever context you might want to display that in. (For example, 2022 -> 2562 given a 540 year offset) |
STATION_YEAR_OFFSET | In-universe, SS13 is set 540 years in the future from the real-world day, hence this number for determining the year-offset for the in-game year. |
TIMEZONE_LINT | Line Islands Time |
TIMEZONE_TKT | Tokelau Time |
TIMEZONE_TOT | Tonga Time |
TIMEZONE_NZDT | New Zealand Daylight Time |
TIMEZONE_NZST | New Zealand Standard Time |
TIMEZONE_NFT | Norfolk Time |
TIMEZONE_LHST | Lord Howe Standard Time |
TIMEZONE_AEST | Australian Eastern Standard Time |
TIMEZONE_ACST | Australian Central Standard Time |
TIMEZONE_ACWST | Australian Central Western Standard Time |
TIMEZONE_AWST | Australian Western Standard Time |
TIMEZONE_CXT | Christmas Island Time |
TIMEZONE_CCT | Cocos Islands Time |
TIMEZONE_CEST | Central European Summer Time |
TIMEZONE_UTC | Coordinated Universal Time |
TIMEZONE_EDT | Eastern Daylight Time |
TIMEZONE_EST | Eastern Standard Time |
TIMEZONE_CDT | Central Daylight Time |
TIMEZONE_CST | Central Standard Time |
TIMEZONE_MDT | Mountain Daylight Time |
TIMEZONE_MST | Mountain Standard Time |
TIMEZONE_PDT | Pacific Daylight Time |
TIMEZONE_PST | Pacific Standard Time |
TIMEZONE_AKDT | Alaska Daylight Time |
TIMEZONE_AKST | Alaska Standard Time |
TIMEZONE_HDT | Hawaii-Aleutian Daylight Time |
TIMEZONE_HST | Hawaii Standard Time |
TIMEZONE_CKT | Cook Island Time |
TIMEZONE_NUT | Niue Time |
TIMEZONE_ANYWHERE_ON_EARTH | Anywhere on Earth |
Define Details
CURRENT_STATION_YEAR ![code/__DEFINES/time.dm 11](git.png)
Define that just has the current in-universe year for use in whatever context you might want to display that in. (For example, 2022 -> 2562 given a 540 year offset)
MIDNIGHT_ROLLOVER ![code/__DEFINES/time.dm 2](git.png)
number of deciseconds in a day
ROUND_TIME ![code/__DEFINES/time.dm 5](git.png)
displays the current time into the round, with a lot of extra code just there for ensuring it looks okay after an entire day passes
STATION_TIME_PASSED ![code/__DEFINES/time.dm 8](git.png)
Returns the time that has passed since the game started
STATION_YEAR_OFFSET ![code/__DEFINES/time.dm 14](git.png)
In-universe, SS13 is set 540 years in the future from the real-world day, hence this number for determining the year-offset for the in-game year.
TIMEZONE_ACST ![code/__DEFINES/time.dm 113](git.png)
Australian Central Standard Time
TIMEZONE_ACWST ![code/__DEFINES/time.dm 116](git.png)
Australian Central Western Standard Time
TIMEZONE_AEST ![code/__DEFINES/time.dm 110](git.png)
Australian Eastern Standard Time
TIMEZONE_AKDT ![code/__DEFINES/time.dm 158](git.png)
Alaska Daylight Time
TIMEZONE_AKST ![code/__DEFINES/time.dm 161](git.png)
Alaska Standard Time
TIMEZONE_ANYWHERE_ON_EARTH ![code/__DEFINES/time.dm 176](git.png)
Anywhere on Earth
TIMEZONE_AWST ![code/__DEFINES/time.dm 119](git.png)
Australian Western Standard Time
TIMEZONE_CCT ![code/__DEFINES/time.dm 125](git.png)
Cocos Islands Time
TIMEZONE_CDT ![code/__DEFINES/time.dm 140](git.png)
Central Daylight Time
TIMEZONE_CEST ![code/__DEFINES/time.dm 128](git.png)
Central European Summer Time
TIMEZONE_CKT ![code/__DEFINES/time.dm 170](git.png)
Cook Island Time
TIMEZONE_CST ![code/__DEFINES/time.dm 143](git.png)
Central Standard Time
TIMEZONE_CXT ![code/__DEFINES/time.dm 122](git.png)
Christmas Island Time
TIMEZONE_EDT ![code/__DEFINES/time.dm 134](git.png)
Eastern Daylight Time
TIMEZONE_EST ![code/__DEFINES/time.dm 137](git.png)
Eastern Standard Time
TIMEZONE_HDT ![code/__DEFINES/time.dm 164](git.png)
Hawaii-Aleutian Daylight Time
TIMEZONE_HST ![code/__DEFINES/time.dm 167](git.png)
Hawaii Standard Time
TIMEZONE_LHST ![code/__DEFINES/time.dm 107](git.png)
Lord Howe Standard Time
TIMEZONE_LINT ![code/__DEFINES/time.dm 86](git.png)
Line Islands Time
TIMEZONE_MDT ![code/__DEFINES/time.dm 146](git.png)
Mountain Daylight Time
TIMEZONE_MST ![code/__DEFINES/time.dm 149](git.png)
Mountain Standard Time
TIMEZONE_NFT ![code/__DEFINES/time.dm 104](git.png)
Norfolk Time
TIMEZONE_NUT ![code/__DEFINES/time.dm 173](git.png)
Niue Time
TIMEZONE_NZDT ![code/__DEFINES/time.dm 98](git.png)
New Zealand Daylight Time
TIMEZONE_NZST ![code/__DEFINES/time.dm 101](git.png)
New Zealand Standard Time
TIMEZONE_PDT ![code/__DEFINES/time.dm 152](git.png)
Pacific Daylight Time
TIMEZONE_PST ![code/__DEFINES/time.dm 155](git.png)
Pacific Standard Time
TIMEZONE_TKT ![code/__DEFINES/time.dm 92](git.png)
Tokelau Time
TIMEZONE_TOT ![code/__DEFINES/time.dm 95](git.png)
Tonga Time
TIMEZONE_UTC ![code/__DEFINES/time.dm 131](git.png)
Coordinated Universal Time