WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

DateFunction

is an option for DateListPlot and TemporalData that specifies how dates given as input should be interpreted.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
See Also
Related Guides
History
Cite this Page

DateFunction

is an option for DateListPlot and TemporalData that specifies how dates given as input should be interpreted.

Details

  • A setting such as DateFunction->(DateList [#,{"e1",}]&) specifies that a sequence of elements "ei" should be extracted from each date. »
  • The default setting DateFunction->Automatic automatically converts standard non-ambiguous dates.

Examples

open all close all

Basic Examples  (2)

Prepend a year to create dates from {month,day} lists:

Interpret dates indexed by a week number:

Scope  (2)

Define functions for interpreting ambiguous date strings for DateListPlot :

Define functions for interpreting ambiguous date strings for creating TemporalData :

Wolfram Research (2007), DateFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/DateFunction.html.

Text

Wolfram Research (2007), DateFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/DateFunction.html.

CMS

Wolfram Language. 2007. "DateFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DateFunction.html.

APA

Wolfram Language. (2007). DateFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DateFunction.html

BibTeX

@misc{reference.wolfram_2025_datefunction, author="Wolfram Research", title="{DateFunction}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/DateFunction.html}", note=[Accessed: 19-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_datefunction, organization={Wolfram Research}, title={DateFunction}, year={2007}, url={https://reference.wolfram.com/language/ref/DateFunction.html}, note=[Accessed: 19-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /