skip to main content

Epoch win!

Explore the fascinating connection between Unix machines and time! Discover how to use your terminal prompt for a fun digital clock reading.

Written byPhil Plait
| 1 min read
Follow on GoogleGoogle News Preferred Source
Placeholder image

Newsletter

Sign up for our email newsletter for the latest science news

Sign Up

Note: My apologies; this got briefly posted on the 12th by accident. I took it down and reposted it on the 13th, the correct day. Sorry! Do you know Unix? If you do, then today at 18:31:30 (Eastern US) is an interesting time. If you have a Mac or Unix machine, type this into your terminal prompt:

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

:-) I know, dorky. But then, whenever I see a digital clock reading "10:54", I always say "Crab Nebula time!". If you thought you could outdork me, give up now.

Meet the Author

Stay Curious

JoinOur List

Sign up for our weekly science updates

View our Privacy Policy

SubscribeTo The Magazine

Save up to 40% off the cover price when you subscribe to Discover magazine.

Subscribe