Howto converting UNIX timestamp into readable format using bash

Howto converting UNIX timestamp into readable format using bash.

date -j -f "%s" 1299452400
Mon Mar  7 00:00:00 CET 2011

Get current UNIX timestamp

date -j +%s