I have a document library that I am accessing programmatically as an SPList
. When I use the LastItemModifiedDate
property of the list, the DateTime returned is {1/7/2010 1:37:41 AM} but when I browse to the document library (with my web browser) I can see the most recent modified date is 7/01/2010 12:37 PM (this is the correct local time when I edited the file).
This looks to me like a timezone issue, but I'm not sure where LastItemModifiedDate
is getting its settings from.
What do I need to change so that LastItemModifiedDate
and the time appearing in my browser agree?