Convert unix time to human

Get the current date and time date +%D’ ‘%T

unix2human …… date -d ‘@1400010652’

human2unix …… date ‘+%s’ -d ’05/13/14 15:50:52′

or

date ‘+%s’ -d ‘Sun May 17 11:20:19 EDT 2015’

Leave a Reply

Your email address will not be published. Required fields are marked *