in reply to Archive::Zip returns incorrrect 'file last modified date'
Looking at the docs for Archive::Zip, lastModFileDateTime returns a date time stamp in MS-DOS format while lastModTime returns the epoch seconds. You either should just print lastModFileDateTime *or* send lastModTime to the localtime function.
Update: I do not not enough about MS-DOS date time stamps ... just printing it will not work but the lastModTime method is probably what you're after.
Update 2: Doh! MS-DOS epoch start is Jan 1, 1980. I should have figured that out from the dates in the OP.
|
|---|