This shows you the differences between two versions of the page.
epoch_time_calculations [2011/10/01 07:36] root |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Epoch time calculations ====== | ||
- | |||
- | ===== Days since Epoch ===== | ||
- | |||
- | echo $(date +%s)/86400 | bc | ||
- | echo $(($(date +%s)/86400)) | ||
- | |||