Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert time string to local time

0 views
Skip to first unread message

Josef Moellers

unread,
Nov 16, 2009, 3:52:45 AM11/16/09
to
Hi,

I'd like to convert a time specification "2008-11-02T15:15:24Z" into
local time. The date/time comes from a GPS tracker (GPX format).
Does anyone know a function which can do that, taking timezones etc into
account?

TIA,

Josef
--
These are my personal views and not those of Fujitsu Technology Solutions!
Josef M�llers (Pinguinpfleger bei FTS)
If failure had no penalty success would not be a prize (T. Pratchett)
Company Details: http://de.ts.fujitsu.com/imprint.html

Josef Moellers

unread,
Nov 16, 2009, 4:12:00 AM11/16/09
to
Josef Moellers wrote:
> Hi,
>
> I'd like to convert a time specification "2008-11-02T15:15:24Z" into
> local time. The date/time comes from a GPS tracker (GPX format).
> Does anyone know a function which can do that, taking timezones etc into
> account?

Found it myself. The keyword was "ISO8601" and the function is strptime().

0 new messages