Convert timestamp in seconds to human readable local time in a shell script (Mac OSX).