office politics
It's all just 1s and 0s
- Messages
- 6,555
- Location
- in the lab
we have a database that logs application access. the log timestamps are coded as integers
1293858000000 - Jan 1 2011
1293944400000 - jan 2 2011
1294117199000 - jan 3 2011
1294117200000 - jan 4 2011
1294289999000 - jan 5 2011
i'd thin they'd be regular intervals but the subtraction produces the following differences
-86400000
-172799000
-1000
-172799000
any ideas on how to convert a known date to the correct integer?
1293858000000 - Jan 1 2011
1293944400000 - jan 2 2011
1294117199000 - jan 3 2011
1294117200000 - jan 4 2011
1294289999000 - jan 5 2011
i'd thin they'd be regular intervals but the subtraction produces the following differences
-86400000
-172799000
-1000
-172799000
any ideas on how to convert a known date to the correct integer?