This made me remember the thread about going the other direction (DateTime to timestamp):
http://groups.google.com/group/Google-Picasa-Data-API/browse_thread/thread/35728655334359c/8a17affea8e7be42 I think what is tripping you up here is that the timestamp is in UTC time, which probably isn't what your local DateTime() is in. Change your DateTime() constructor to specify a DateTimeKind of Utc: http://msdn.microsoft.com/en-us/library/t882fzc6.aspx http://msdn.microsoft.com/en-us/library/shx7s921.aspx Cheers, -Jeff On Sun, Feb 22, 2009 at 2:58 AM, Mirek <[email protected]> wrote: > > Is it possible to get datetime when photo's has been created? > In documentation for PhotoAccessor is Timestamp value which suppose to > be "The photo's timestamp, represented as the number of milliseconds > since January 1st, 1970" > But when I add new DateTime(1970, 1, 1, 0, 0, 0).Ticks + Timestamp > value from PhotoAccessor it bring incorrect result. > > Thank you for any help > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---
