On 06/12/2006, at 4:47 PM, Peter Bozek wrote:

On 12/6/06, Jeff Ayling <[EMAIL PROTECTED]> wrote:
Hi All,

I am parsing the date_modified field in the iTunes xml file which
looks like this:

<key>Date Modified</key><date>2006-12-06T02:53:17Z</date>

Can anyone help to explain this format? At 2pm I made a change to
this track in iTunes which then created a new xml file with the date
above which is almost an hour out.

Does anyone know why the iTunes Date_modified field in the xml file
does not show the actual Date Modified? Or is it using a specific
Time Zone setting perhaps?

That Z at the end means that it is time in GMT (Zulu) time zone. Your
time offset is +11, and if you add 11 hours you get 2 pm (note that
the time in the key is 2:53 AM.)

--

Hey, thanks Tom and Peter.

I am in Sydney Australia:

Standard time zone:                     UTC/GMT +10 hours
Daylight saving time:                   +1 hour
Current time zone offset:               UTC/GMT +11 hours
Time zone abbreviation:         EST - Eastern Summer(Daylight) Time

So yes we get +11 hours.

Now I'll need a way to convert these 2006-12-06T02:53:17Z Time formats to the current time for the user on Mac/Win in different parts of the world. Is there a standard way RB users have done this in the past? I guess it means knowing the users time zone - a call to the system to get this info perhaps?

Cheers


Jeff



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to