View Single Post
  #1  
Old 01-21-2014, 04:12 PM
100Zero100 100Zero100 is offline
Registered User
Join Date: Jul 2006
Posts: 31
100Zero100 is on a distinguished road
timevar2 is off?

As of writing this:

http://www.epochconverter.com/

Says the Unix Epoch Time is: 1390323226

At the same time, I echoed timevar2.

Says timevar2 is equal to: 1390321106.845321893

Even using formatTimeString("", timevar2) now retrieves a time about 6 hours and 35 minutes off of the correct time.

Can anyone enlighten me on this?

Edit: getutctime() is also off by the same.

Edit2: In case you're feeling lazy, it appears off by 2120.

Edit3: It's only off by 35 minutes using the 2120 logic. I said it's off by 6 hours because using formatTimeStr() on it now yields time in EST. I suppose this was an internal fix Stefan made for some reason? It's unnecessary. My scripts wanted EST and so I just did -= 21600 in them. I removed my -= 21600 correction for EST and I have implemented a temporary += 2120 offset fix until this is sorted out.
__________________
Hi. I'm NaS!

Last edited by 100Zero100; 01-21-2014 at 04:33 PM..
Reply With Quote