Date / time localisation
Date / time localisation
- Subject: Date / time localisation
- From: Adam Holt <email@hidden>
- Date: Sun, 17 Apr 2005 23:08:26 +0100
I'm reading in an XML file from a web server. The XML defines a number of
events and each one is timestamped by the server.
I want my cocoa app to read the timestamps but display them in the app as
local time for the user (i.e. offset according to the local system timezone
of their Mac).
The XML file is generated by my own Java servlet so I can tweak the format
to make it more compatible with the Cocoa classes as necessary.
I'd appreciate a couple of pointers on this subject as I've looked at a UTC
related thread on cocoa-dev back in June '04 as well as the cocoa date /
time overview at
http://developer.apple.com/documentation/Cocoa/Conceptual/DatesAndTimes/inde
x.html but I don't have a clear idea as to how to approach this yet.
Cheers... Adam.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden