Here’s how to calculate epoch time using the Linux date command.
# Linux date --date @1561266781 date -d @1561266781 # MacOS date -r 1561266781 |
Output is : Sun Jun 23 05:13:01 UTC 2019
Show current epoch time.
date +%s |
Output: 1561642643
cloud engineer
Here’s how to calculate epoch time using the Linux date command.
# Linux date --date @1561266781 date -d @1561266781 # MacOS date -r 1561266781 |
# Linux date --date @1561266781 date -d @1561266781 # MacOS date -r 1561266781
Output is : Sun Jun 23 05:13:01 UTC 2019
Show current epoch time.
date +%s |
date +%s
Output: 1561642643
I'm Ulysses, a Cloud Engineer at Cardinal Health based in Columbus, Ohio. I’m a certified AWS Solutions Architect. This website is my way of documenting the things I've learned about the Cloud. When off the grid, I enjoy riding my electric skateboard. I've surfed, snowboarded and played saxophone in the past. I hope you find this site helpful. It's powered by WordPress and hosted in AWS.