For When You Can't Have The Real Thing
[ start | index | login ]
start > Time In Seconds

Time In Seconds

Created by dave. Last edited by dave, 5 years and 54 days ago. Viewed 2,866 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

What Time Is It In Seconds?

NOW=`perl -e 'print time;'`
NOW=`date '+%s'`

How Do I Translate This Time In Seconds To A Readable Time?

> date -d @1267619929
Wed Mar  3 07:38:49 EST 2010
> date -d @1267619929 --rfc-3339=seconds
2010-03-03 07:38:49-05:00
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt