MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: data in absolutetime

  • To: mathgroup at
  • Subject: [mg109917] Re: data in absolutetime
  • From: "Hans Michel" <hmichel at>
  • Date: Sat, 22 May 2010 00:43:45 -0400 (EDT)
  • References: <op.vc0m79s4422244@toshiba> <ht5o84$14f$>

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.


"Beata Warchol" <beatawarchol at> wrote in message 
news:ht5o84$14f$1 at
> 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

  • Prev by Date: SQLExecute with an argument
  • Next by Date: Re: enter specific symbols for ListPlot usage
  • Previous by thread: Re: data in absolutetime
  • Next by thread: Re: data in absolutetime