Datemath is a console software that enables date manipulation through mathematical operations.
With Datemath, you can quickly perform various date calculations, such as "today + 7 days" or "12/25/2003 - today." The tool accepts straightforward and flexible expressions, allowing you to perform most calculations that make sense while rejecting nonsensical ones (such as trying to add two dates together).
One example of how Datemath can be used is to determine when your machine will be up for a year. Using the "uptime" command, you can see that your machine has been up for 317 days. By simply entering "datemath today + 365 - 317," you can easily get the date when your machine will have been up for a year (10/24/2003).
To use Datemath, you need two tools: GNU flex and Bison. Overall, Datemath is a must-have tool for anyone who frequently works with dates and needs to perform simple calculations with ease. It's simple, efficient, and gets the job done with minimal effort.
Version 2.0.10: N/A