How to cheat at Youtube »« Happy Darwin Day!

Happy 1234567890!

Check this out, Unix / Linux / Mac users. You know how Unix time is measured as the number of seconds since January 1, 1970, Coordinated Universal Time? Throw this in a terminal to see what Unix time 1234567890 equates to… it’s today. For you Windows users, ignore this post. It’s not only too geeky for your likes, you can’t do this anyway since Windows doesn’t measure its time in the “standard” manner.

perl -e 'print scalar localtime(1234567890),"n";'

This should be scheduled to post at the exact time, in fact, give or take a few seconds, depending on how my web host syncs their time.

Happy 1234567890!

(Hat tip to Phil Plait for the Perl code, saving me the effort of writing it myself. Wow… And I thought I might scoop HIM on something for once. Very sad. Shoddy, Jason, shoddy.)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>