GetUserTime

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(userTime:StringMap) GetUserTime

Returns a StringMap containing information about the time and date on the player's system The returned StringMap has the following key/value pairs, all of which are integers:

  • Year (1601 - 30827)
  • Month (1-12)
  • DayOfWeek (1:Sunday - 7:Saturday)
  • Day (1-31)
  • Hour (0-23)
  • Minute (0-59)
  • Second (0-50)
  • Millisecond (0-999)