$DateStringFormat
✖
$DateStringFormat
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 allBasic Examples (2)Summary of the most common use cases
Generalizations & Extensions (1)Generalized and extended use cases
Properties & Relations (2)Properties of the function, and connections to other functions
Use $DateStringFormat to set the default format for date strings within DatePlus:
In[1]:=1

✖
https://wolfram.com/xid/0k8f7ay511w9u-koz9h
Out[1]=1

Date string formats match date patterns:
In[1]:=1

✖
https://wolfram.com/xid/0k8f7ay511w9u-2otxo
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0k8f7ay511w9u-e5a9nx
Out[2]=2

Wolfram Research (2007), $DateStringFormat, Wolfram Language function, https://reference.wolfram.com/language/ref/$DateStringFormat.html.
✖
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.
✖
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.
✖
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
✖
Wolfram Language. (2007). $DateStringFormat. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$DateStringFormat.html
BibTeX
✖
@misc{reference.wolfram_2025_$datestringformat, author="Wolfram Research", title="{$DateStringFormat}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/$DateStringFormat.html}", note=[Accessed: 10-March-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_$datestringformat, organization={Wolfram Research}, title={$DateStringFormat}, year={2007}, url={https://reference.wolfram.com/language/ref/$DateStringFormat.html}, note=[Accessed: 10-March-2025
]}