Days since the epoch

The following Perl command will return the number of days since the epoch:

perl -e 'printf qq{%d\n},time/86400'

Back to brandonhutchinson.com.
Last modified: 2007/03/20