Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: print $(( (1234567890 - $EPOCHSECONDS) / 3600 ))



On Fri, 13 Feb 2009, Peter Stephenson wrote:

5

I don't think I can be bothered to stay up. There are limits to being a geek.

First instance of 1234567890 in my Zsh history file:

: 1171338505:0;perl -lwe '$t = 1234567890 - time; print $t/$_ and $t%=$_ for 86400,3600,60,1'

(1171338505 = Mon Feb 12 22:48:25 2007)

Everyone else at the office today: Whoa, Friday the 13th!

Me: You know what else is today...

:-)



Messages sorted by: Reverse Date, Date, Thread, Author