Skip navigation
robs67
Currently Being Moderated

CFZIP, dateLastModified, and Timezones

Aug 7, 2012 9:22 AM

When doing a <cfzip action="list"> and retrieving the dateLastModified, how can I also get the timezone of dateLastModified?

 

If a zip was created in Central Time with a file saved at, say 9:00am, and I perform the <cfzip action="list"> in Eastern Time, the dateLastModified will show 9:00am.  I can't seem to find a way to get the timezone info to be able to convert that date/time to local or even UTC.  I also can't always say that the file was received from a server in a certain timezone because the file could have been passed through several servers before it reaches me.  So it could have been save in India, yet I received it from a server in Phoenix. The file in the zip will be India time but dateLastModified will just show the date/time with no indication is was saved in India time.

 

Anyone know of a way?

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points