Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Dates' topicStudent Support Forum > General > "Dates"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
jf
01/01/13 3:19pm

Rest[list] will drop the first element.

Is this more like what you wanted?

In[1]:= list={{"11/15/2011", 8.98, 8.98, 8.75, 8.9, 8934}, {"11/16/2011", 8.8,
9.45, 8.8, 9.24, 81476}, {"11/17/2011", 9.17, 10.07, 9.16, 10.05,
366003}, {"11/18/2011", 9.9, 10.25, 9.79, 10.04,
335971}, {"11/21/2011", 10.2, 10.2, 9.5, 9.5, 64430}} ;

In[2]:= DateList[{#, {"Month", "Day", "Year"}}] & /@ (DateString[#] & /@ list[[All,1]])

Out[2]= {{2011, 11, 15, 0, 0, 0.}, {2011, 11, 16, 0, 0, 0.}, {2011, 11, 17, 0, 0, 0.},

> {2011, 11, 18, 0, 0, 0.}, {2011, 11, 21, 0, 0, 0.}}




URL: ,

Subject (listing for 'Dates')
Author Date Posted
Dates Augustus 12/31/12 11:50am
Re: Dates Bill Simpson 01/01/13 12:51pm
Re: Dates jf 01/01/13 3:19pm
Re: Re: Dates Augustus 01/02/13 1:13pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic