cw.date class
Summary
Methods
GetDay()server
Returns the in-game day of the month.
GetMonth()server
Returns the in-game month.
GetSaveData()server
Returns the in-game date as a table for saving.
GetString()client
Returns the in-game date as networked by the server.
GetYear()server
Returns the in-game year.
Methods
Returns the in-game day of the month.
Returns
- Number The day
Returns the in-game month.
Returns
- Number The month
Returns the in-game date as a table for saving.
Returns
- Map Table with
month,yearanddaykeys
Returns the in-game date as networked by the server.
Returns
- String The formatted date, or
nilbefore it has been received
Returns the in-game year.
Returns
- Number The year