$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.
- In the cloud, $DateStringFormat is set according to the locale information given by $GeoLocationCountry.
- A typical initial default setting is $DateStringFormat="DateTimeShort".
- Named date string formats include:
-
"Date" full date Thursday 4 April 2019 "DateShort" short date Thu 4 Apr 2019 "Time" full time 15:57:49 "DateTime" full date and time Thursday 4 April 2019 15:57:57 "DateTimeShort" short date and time Thu 4 Apr 2019 15:58:08 "ISODate" ISO-8601 date 2019-04-04 "ISOWeekDate" ISO week date 2019-W14-4 "ISOOrdinalDate" ISO ordinal date 2019-094 "ISODateTime" ISO date and time 2019-04-04T15:58:57
Examples
open allclose allProperties & Relations (2)
Use $DateStringFormat to set the default format for date strings within DatePlus:
Wolfram Research (2007), $DateStringFormat, Wolfram Language function, https://reference.wolfram.com/language/ref/$DateStringFormat.html.
Text
Wolfram Research (2007), $DateStringFormat, Wolfram Language function, https://reference.wolfram.com/language/ref/$DateStringFormat.html.
CMS
Wolfram Language. 2007. "$DateStringFormat." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$DateStringFormat.html.
APA
Wolfram Language. (2007). $DateStringFormat. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$DateStringFormat.html