$DateStringFormat

$DateStringFormat

gives the default format to use for date strings generated by DateString.

Details

  • $DateStringFormat can be set to any format specification supported by DateString.
  • A typical initial default setting is $DateStringFormat="DateTimeShort".

Examples

open allclose all

Basic Examples  (2)

Use long date format:

In[1]:=
Click for copyable input
Out[1]=

Specify your own format:

In[1]:=
Click for copyable input
Out[1]=

Generalizations & Extensions  (1)

Properties & Relations  (2)

See Also

DateString  $TimeZone

Introduced in 2007
(6.0)