BasicProperties performs rounding on DataModified value RRS feed

  • Question

  • I'm using StorageFile::GetBasicPropertiesAsync().  The resulting BasicProperties->DateModified.UniversalTime is not accurate.  It appears that somewhere along the line the Runtime rounds it off, to the nearest 2 seconds.  So your answer is different that what Windows Explorer of win32's GetFileTime() says.  Is there a way to get a modified time that hasn't been rounded up? Like, maybe FileInformationFactory which I haven't looked at yet, or perhaps in the future the timestamp returned will be more accurate?

    Thursday, September 12, 2013 6:51 PM


All replies