Re: data in absolutetime
- To: mathgroup at smc.vnet.net
- Subject: [mg109917] Re: data in absolutetime
- From: "Hans Michel" <hmichel at cox.net>
- Date: Sat, 22 May 2010 00:43:45 -0400 (EDT)
- References: <op.vc0m79s4422244@toshiba> <ht5o84$14f$1@smc.vnet.net>
The dates needs to be in Mathematica Date Format as a List.
In[1]:= AbsoluteTime[{2010,05,20}]
Out[1]= 3483302400
Mathematica does not have a built in conversion of this string to a datetime
format "20100520"
In[2]:= DateString["20100520"]
Out[2]= 20100520
They should include it as it is a variation of ISO8601 without separators.
This format is commonly used in many EDI formats. So there is a need.
Hans
"Beata Warchol" <beatawarchol at gmail.com> wrote in message
news:ht5o84$14f$1 at smc.vnet.net...
> Dear MathGroup,
>
> I have list of date
> for example:
> c={20100520,20100519,20100512,20100516,20100430,200100425,20100411,20100407}
> in this format.
> I need get from this list a new list with the same date but in
> absolutetime
> When I use AbsoluteTime["20100520"], I get this, but I don't know how can
> I
> use it for whole list c
>
> Please for help
> Beata
>
>