Date Conversion

Discussion in 'Perl Misc' started by Josef Moellers, Oct 1, 2008.

  1. Hi,

    When I retrieve position information from my GPS tracker in KML format,
    the date/time is encoded as "2008-09-25T06:20:13Z".
    Does anyone know how to convert this to some local time format?

    TIA,

    Josef
    --
    These are my personal views and not those of Fujitsu Siemens Computers!
    Josef Möllers (Pinguinpfleger bei FSC)
    If failure had no penalty success would not be a prize (T. Pratchett)
    Company Details: http://www.fujitsu-siemens.com/imprint.html
    Josef Moellers, Oct 1, 2008
    #1
    1. Advertising

  2. Josef Moellers wrote:
    > Hi,
    >
    > When I retrieve position information from my GPS tracker in KML format,
    > the date/time is encoded as "2008-09-25T06:20:13Z".
    > Does anyone know how to convert this to some local time format?


    Sorry to have bothered, I found it myself:

    * dateTime (YYYY-MM-DDThh:mm:ssZ)
    Here, T is the separator between the calendar and the hourly
    notation of time, and Z indicates UTC. (Seconds are required.)

    Josef
    --
    These are my personal views and not those of Fujitsu Siemens Computers!
    Josef Möllers (Pinguinpfleger bei FSC)
    If failure had no penalty success would not be a prize (T. Pratchett)
    Company Details: http://www.fujitsu-siemens.com/imprint.html
    Josef Moellers, Oct 1, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    1
    Views:
    597
    Matthew Speed
    Nov 8, 2003
  2. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,250
    Michael Borgwardt
    May 30, 2004
  3. Matt
    Replies:
    2
    Views:
    515
    Pete Becker
    Nov 8, 2003
  4. Matt
    Replies:
    3
    Views:
    719
    Richard Heathfield
    Nov 8, 2003
  5. Sanjeeb
    Replies:
    2
    Views:
    181
Loading...

Share This Page