Jump to content

Recommended Posts

  • 1 year later...
Posted (edited)

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
Posted

In case that i_eFactor is not a float value (should not), >11 and >=12 are the same.

Maybe you could correct your first entry, for those who don`t look at the second page. :)

  • 1 year later...
Posted

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..

Posted

Thanks for the link. it works but except for the hour which is 4hours advance..

1418017836357 = 2014/12/08 05:50:36 (should be 01:50:36)

Thank you

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
  • Recently Browsing   0 members

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