...and whilst you are at it, some of you younger ones might wish to put
the next important date in the diary:
date -d "1970/01/01 utc + 1$(printf "%0.10d" 0) sec"
--
Howard.
____________________________________________________
LANNet Computing Associates <http://lannetlinux.com>
"...well, it worked before _you_ touched it!"
On Thu, 15 Feb 2001, Michael Lake wrote:
> Herbert Xu wrote:
> > Jeff Waugh <[EMAIL PROTECTED]> wrote:
> > > python -c 'import time ; print time.strftime("%c", time.localtime(10**9))'
> > > perl -e 'print scalar(localtime(10**9)), "\n"'
> > > ruby -e 'puts Time.at(10**9)'
> >
> > Bloat! Try
> > date -d '1970/01/01 utc + 1000000000 sec'
> > date -d "1970/01/01 utc + 1$(printf "%0.9d" 0) sec"
> > More Info: http://slug.org.au/lists/listinfo/slug
>
> Actually I prefer Jeff's original one.
> * It explicitly has the Giga in it and therefore is in te right spirit.
> * Windows users won't be able to work out to add 10^9 secs to 1970 so
> won't know the date and won't turn up. Don't want the riff-raff now do
> we :-)
>
> Mike
> ----
>
>
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug