Date has been superseded by DateList since Version 6.0.


gives the current local date and time in the form {year,month,day,hour,minute,second}.


  • Date[] uses whatever date and time have been set on your computer system. It performs no corrections for time zones, daylight saving time, etc.
  • Date[z] gives the date in time zone z. This is inferred by knowing your local date and time, and local time zone. The time zone is given as the number of hours to be added to Greenwich Mean Time to obtain local time.
  • All values returned by Date[] are integers, except the number of seconds. The number of seconds is never more accurate than $TimeUnit.
  • You can compare two lists returned by Date using Order.


Basic Examples  (1)

Click for copyable input

See Also

AbsoluteTime  TimeZone  SessionTime  TimeUsed  DateList  FileDate  $CreationDate  Clock


Introduced in 1991