Sign in to follow this  
Followers 0
julmae

time stamp conversion problem

6 posts in this topic

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)

Share this post


Link to post
Share on other sites



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


[center]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.[/center]

Share this post


Link to post
Share on other sites

Yep

Share this post


Link to post
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 *

Share this post


Link to post
Share on other sites

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

[center]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.[/center]

Share this post


Link to post
Share on other sites

ah thanks for your help, got it now 8)

Share this post


Link to post
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
Sign in to follow this  
Followers 0