zsh-workers
 help / color / mirror / code / Atom feed
* print $(( (1234567890 - $EPOCHSECONDS) / 3600 ))
@ 2009-02-13 17:51 Peter Stephenson
  2009-02-13 18:51 ` Benjamin R. Haskell
  2009-02-13 19:22 ` Richard Hartmann
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Stephenson @ 2009-02-13 17:51 UTC (permalink / raw)
  To: Zsh hackers list

5

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

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: print $(( (1234567890 - $EPOCHSECONDS) / 3600 ))
  2009-02-13 17:51 print $(( (1234567890 - $EPOCHSECONDS) / 3600 )) Peter Stephenson
@ 2009-02-13 18:51 ` Benjamin R. Haskell
  2009-02-13 18:53   ` Mikael Magnusson
  2009-02-13 19:22 ` Richard Hartmann
  1 sibling, 1 reply; 4+ messages in thread
From: Benjamin R. Haskell @ 2009-02-13 18:51 UTC (permalink / raw)
  To: Zsh hackers list

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...

:-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: print $(( (1234567890 - $EPOCHSECONDS) / 3600 ))
  2009-02-13 18:51 ` Benjamin R. Haskell
@ 2009-02-13 18:53   ` Mikael Magnusson
  0 siblings, 0 replies; 4+ messages in thread
From: Mikael Magnusson @ 2009-02-13 18:53 UTC (permalink / raw)
  To: Zsh hackers list

2009/2/13 Benjamin R. Haskell <zsh@benizi.com>:
> 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...
>
> :-)

fwiw today is the first of three friday the 13ths this year (the other
two are in march and november).

-- 
Mikael Magnusson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: print $(( (1234567890 - $EPOCHSECONDS) / 3600 ))
  2009-02-13 17:51 print $(( (1234567890 - $EPOCHSECONDS) / 3600 )) Peter Stephenson
  2009-02-13 18:51 ` Benjamin R. Haskell
@ 2009-02-13 19:22 ` Richard Hartmann
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Hartmann @ 2009-02-13 19:22 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: Zsh hackers list

On Fri, Feb 13, 2009 at 18:51, Peter Stephenson <pws@csr.com> wrote:

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

1234554321 will be in 1398 seconds :)


Richard

PS: 1234567891 is prime


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-13 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-13 17:51 print $(( (1234567890 - $EPOCHSECONDS) / 3600 )) Peter Stephenson
2009-02-13 18:51 ` Benjamin R. Haskell
2009-02-13 18:53   ` Mikael Magnusson
2009-02-13 19:22 ` Richard Hartmann

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).