This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

DateFunction

DateFunction
is an option for DateListPlot which specifies how dates given as input should be converted to date lists.
  • A setting such as DateFunction->(DateList[#, {"e1", ...}]&) specifies that a sequence of elements "ei" should be extracted from each date. »
Prepend a year to create dates from {month, day} lists:
Interpret dates indexed by a week number:
Prepend a year to create dates from {month, day} lists:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
Interpret dates indexed by a week number:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Define functions for interpreting ambiguous date strings:
New in 6