Linux Tips: How to count the days between two dates
Network World | Jul 15, 2022
This trick works because Linux stores dates/times as the number of seconds since Jan 1, 1970. This doesn’t mean you can’t look at earlier dates; the earlier dates are simply stored as negative numbers.
Copyright © 2022 IDG Communications, Inc.