To convert current time to unix timestamp
$ date +%swhere %s is seconds since 1970-01-01 00:00:00 UTC
1308021863
To convert a unix timestamp to a readable time/date
$ date -d @1308021863where -d is for displaying time described by the string after @
Mon Jun 13 22:24:23 CDT 2011