Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team