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'    

or if you really hate typing 0's, try

date -d "1970/01/01 utc + 1$(printf "%0.9d" 0) sec"
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to