Time Zone for LastUpdated field?
mattwright
Registered Users Posts: 124 Major grins
Hi,
LastUpdated returns a time stamp, but no time zone is specified (for calls like albums.get and images.get). What time zone is this date/time generated in? Thanks,
Matt
LastUpdated returns a time stamp, but no time zone is specified (for calls like albums.get and images.get). What time zone is this date/time generated in? Thanks,
Matt
0
Comments
Hey Matt,
Sorry about the delayed response.
All timestamps are in PDT.
Cheers,
David
SmugMug API Developer
My Photos
David,
Can I request that you include the timezone in the returned LastUpdated field, so that php's strtotime() knows what timezone it is working with, and therefore automatically converts the timestam to align with the (remote) server's timezone.
This means we dont have to do it manually in the php code, and also means that the timestamp behaviour in the API is the same as the timestamp behaviour in the feeds (which do include a timezone).
Thanks
Felix
http://www.faqs.org/rfcs/rfc2822
so instead of 2009_03_17 05:02:42
perhaps
March 17 2009 05:02:42 PDT
Would be most appropritate?