dateutils is an open source and free command-line software implemented in C and designed to provide a collection of several utilities that help you to manipulate the date and time in any GNU/Linux operating system.
Comprises of a wide range of useful tools to manipulate date and time
The program has a strong focus on use cases that arise when dealing with large amounts of financial data. It comprises of several utilities like the ‘strptime’ command, a command-line version of the C function, as well as the ‘dadd’ command for adding durations to times and dates.
In addition, dateutils also comes with the ‘dconv’ command for converting times and dates between calendars, the ‘ddiff’ command for computing durations between times and dates, the ‘dsort’ command to chronologically order the lines of a file, and the ‘dgrep’ command for grepping times and dates in input streams.
Additionally, dateutils includes the ‘dround’ command for rounding times and dates to “fuller” values, the ‘dseq’ command for generating sequences of times and dates, the ‘dzone’ command for batch converting date and times to timezones, as well as the ‘dtest’ command for comparing times and dates.
Getting started with dateutils
If the dateutils package is not already installed on your GNU/Linux operating system, you can easily install the latest version by downloading it from Softpedia, where it is distributed as a universal sources archive (tarball).
Save the archive on a location of your choice (e.g. your Home dir), use an archive manager utility to extract the contents of the archive, then open a terminal emulator application and navigate to the location of the extracted archive files using the ‘cd’ command (e.g. cd /home/softpedia/dateutils-0.3.1).
Next, you must run the ‘./configure && make’ command to configure and compile dateutils, followed by the ‘make install’ command to install it system wide (alternatively, you can use the ‘sudo make install’ command, depending if you are root or a user with root privileges).