[
  {
    "Id": "1071235",
    "ThreadId": "450790",
    "Html": "After reading the documentation about &quot;ZipEntry.LastModified&quot; and &quot;ZipEntry.ModifiedTime&quot; and doing some test I am a bit confused.\r<br />\nI understood the problematics with the old &quot;DOS&quot; Date format, which is not a standardized time format and so on.\r<br />\nWhat I am trying to do is checking a zip Archive for entries and extracting only those files that have a different modification date from the files already existing on hdd.\r<br />\nSo I want to check the zip entry for the date the extracted file would become.\r<br />\nBut thats not as easy as I thought :-)\r<br />\nFirst issue is the &quot;correction&quot; you are doing there for &quot;LastModified&quot; by adding an hour in some cases. But that &quot;correction&quot; is obviously taken back again when extracting the file. So the Date in &quot;LastModified&quot; is not the date that the extracted file will have.\r<br />\nSo the first basic question would be:\r<br />\n<br />\nHow do I get the exact modification date an extracted file will really become at the end?\r<br />\n<br />\nRelated question:\r<br />\nCurrently I have only zip files which seem to have only the &quot;DOS&quot; date.\r<br />\nWhat will happen if a file has &quot;NTFS&quot; or &quot;UNIX&quot; times and &quot;ModifiedTime&quot; becomes valid?\r<br />\nWill the modified time for the extracted file then taken from there?\r<br />\n<br />\nDo not get me wrong, I am aware of all the issues with &quot;local&quot; time and that I will never be able to compare dates on zip files from different sources.\r<br />\nBut anyway, all I want to know:\r<br />\nWhat will be the date of the extracted file? And I want to know that before extracting it.<br />\n",
    "PostedDate": "2013-07-22T05:11:19.42-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]