$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:

Specify your own format:

Generalizations & Extensions  (1)

Include a time zone:

Properties & Relations  (2)

Use $DateStringFormat to set the default format for date strings within DatePlus:

Date string formats match date patterns:

Introduced in 2007
 (6.0)