Advanced

Doing Date Math on the Command Line, Part I

Posted by bob on
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

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

This topic does not have any threads posted yet!

You cannot post until you login.