How to convert DATE to UNIX TIMESTAMP in shell script on MacOS How to convert DATE to UNIX TIMESTAMP in shell script on MacOS linux linux