[1067848 views]

[]

[toggle ads]

Odi's astoundingly incomplete notes

New entries | Code

Quickly convert a timestamp to a date

Sometimes when looking through log files you come across Unix/Java timestamps. You can quickly convert those unwieldy long values into a local Date with your web browser. Just type this in the address bar:

javascript:alert(new Date(1178096885359))

That's quite a handy trick that every developer should know.

posted on 2007-05-04 18:04 CEST in Code | 0 comments | permalink