Mathematica > Data Manipulation > Date & Time > $DateStringFormat >

$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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF