?

Log in

No account? Create an account
entries friends calendar profile My Website Previous Previous Next Next
Mark Atwood
fallenpegasus
fallenpegasus
Tomorrow, on Sat Jan 10 05:37:04 2004, local time (PST), the UNIX timebase will be exactly 2 to the 30th, exactly "halfway" to the "UNIX time rollover catastrophe".

You can run echo $((1073741824 - $(date +%s))) at a UNIX shell prompt to watch it count down.
4 comments or Leave a comment
Comments
From: pir Date: January 9th, 2004 06:33 pm (UTC) (Link)
s/shell/sh based shell/

expr 1073741824 - `date +%s`
is more portable.
fallenpegasus From: fallenpegasus Date: January 9th, 2004 06:50 pm (UTC) (Link)
Since +%s is itself, a GNU extension, the odds are nearly 100% that it if works at all, it will be at a bash or ksh prompt...
From: pir Date: January 9th, 2004 06:52 pm (UTC) (Link)
Huh, works with FreeBSD's sh, which I didn't think was bash or ksh based but I could be wrong.
jatg From: jatg Date: January 9th, 2004 07:14 pm (UTC) (Link)

Urrr?

...and Suzanne worries she's a geek for posting song lyrics? ;)
4 comments or Leave a comment