Doing Date Math on the Command Line, Part I
by Mitch Frazier
If you've ever used a spreadsheet, you've probably used or seen
functions for doing date math—in other words, taking one date and adding some number
of days or months to it to get a new date, or taking two
dates and finding the number days between them.
The same thing can be done from the command line using
the lowly date command, possibly with a little
help from Bash's arithmetic.
Go to Full Article
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.