This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

$DateStringFormat

$DateStringFormat
gives the default format to use for date strings generated by DateString.
  • A typical initial default setting is .
Use long date format:
Specify your own format:
Use long date format:
In[1]:=
Click for copyable input
Out[1]=
 
Specify your own format:
In[1]:=
Click for copyable input
Out[1]=
Include a time zone:
Use $DateStringFormat to set the default format for date strings within DatePlus:
Date string formats match date patterns:
New in 6