Returns the current date (in the server's time zone). Only returns valid information after the PLAYER_LOGIN event has fired.


See also Calendar functions.

Signature:

weekday, month, day, year = CalendarGetDate()

Returns:

  • weekday - Index of the day of the week (starting at 1 = Sunday) (number)
  • month - Index of the month (starting at 1 = January) (number)
  • day - Day of the month (number)
  • year - Year (full four-digit year) (number)