Jump to content

time stamp conversion problem


Recommended Posts

so heres my problem i have two login times taken from packets i catched :

1154825264125 = taken at 3:07 and

1154909297140 = taken at 3:08, when i minus them and divide them by 1000 it came out as 68~ sec as it should be

so time stamps should be in milliseconds, but i cant figure how its genrated. any and all help would be welcome 8)

Link to comment
Share on other sites

  • Moderators

If you don't divide them by 1000 then you get 68000 milliseconds don't you?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

so heres my problem i have two login times taken from packets i catched :

1154825264125 = taken at 3:07 and

1154909297140 = taken at 3:08, when i minus them and divide them by 1000 it came out as 68~ sec as it should be

so time stamps should be in milliseconds, but i cant figure how its genrated. any and all help would be welcome 8)

the timestamps you describe are defined like this: "the number of seconds since EPOCH (1970/01/01 00:00:00)". Obviously the milliseconds are also added in your example.

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

  • Moderators

the timestamps you describe are defined like this: "the number of seconds since EPOCH (1970/01/01 00:00:00)". Obviously the milliseconds are also added in your example.

Cheers

Kurt

I was trying to find that lmao... nice

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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