Difficulty in importing dates and times with functions like
- To: mathgroup at smc.vnet.net
- Subject: [mg94380] Difficulty in importing dates and times with functions like
- From: ADL <alberto.dilullo at tiscali.it>
- Date: Thu, 11 Dec 2008 03:47:58 -0500 (EST)
Dear group, I have a difficulty in interpreting dates and times with
functions like AbsoluteTime.
When a date string is in the format that Mathematica understands
automatically, the fractions of second are appropriately read:
In:= AbsoluteTime["2008/12/01 12:34:56.454"]
Out= 3.43712369645400000000000*10^9
Instead, when the format has to be specifies, the fractions of second
are ignored and I could not find a way to prevent this:
In:= AbsoluteTime[{"2008-12-01 12.34.56.454", {"Year", "Month",
"Day", "Hour", "Minute", "Second"} }]
Out= 3437123696
This happens both in versions 6 and 7 for Windows. Does anyone know
how to make this work ?
Moreover, date importing functions appear to me very slow and very
clumsy in their syntax. Does know anyone about something better which
can be applied?
Regards
Al
- Follow-Ups:
- Re: Difficulty in importing dates and times with functions
- From: Darren Glosemeyer <darreng@wolfram.com>
- Re: Difficulty in importing dates and times with functions
- From: Carl Woll <carlw@wolfram.com>
- Re: Difficulty in importing dates and times with functions