Doing Date Math on the Command Line, Part I

Posted by bob on Oct 12, 2018 9:03 PM EDT
Linux Journal
Mail this story
Print this story

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

  Nav
» Read more about: Groups: Community, Linux; Story Type: News Story

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.