Jump to content

EPOCH time


trancexx
 Share

Recommended Posts

  • 1 year later...

Bug?

When you try to convert with _EPOCH_decrypt() the epoch value 1262390399 (1.1.2010) it returns 1.13.2009.

I solved the problem by changing the value 13 to 12 in line 26 :

bug:

$asDatePart[1] = $i_eFactor - 1 - 12 * ($i_eFactor - 2 >= 13)

fixed:

$asDatePart[1] = $i_eFactor - 1 - 12 * ($i_eFactor - 2 >= 12)

Can you tell me the idea behind the 13?

Edited by BaseIT
Link to comment
Share on other sites

  • 1 year later...

Hi, I have a file extracted to MS Excel 2010, then the my date-column is showing integer = 1417732821397.44 the original time for this is actually 2014/12/05 06:41:0.000, I used different conversion found on the internet using excel  but no luck to convert to the correct time.

Then I found this topic about the epoch time conversion using autoit. Can you guys help me please on how to covert this integer to date as per my example above using autoit.

Appreciate you help guys.

Thank you..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...