{"repo":"hroptatyr/dateutils","free":true,"listed":false,"github":"https://github.com/hroptatyr/dateutils","clone":"git clone https://github.com/hroptatyr/dateutils.git","description":"nifty command line date and time utilities; fast date calculations and conversion in the shell","language":"C","stars":660,"topics":["c","timezone","command-line-tool","command-line","datetime","datediff","convert-dates","date-formatting"],"license":null,"category":"cli-tools","readme_excerpt":"Dateutils ========= Dateutils are a bunch of tools that revolve around fiddling with dates and times on the command line with a strong focus on use cases that arise when dealing with large amounts of financial data. Dateutils are hosted primarily on github: + github page: + project homepage: + downloads: Below is a short list of examples that demonstrate what dateutils can do, for full specs refer to the info and man pages. For installation instructions refer to the INSTALL file. Dateutils commands are prefixed with a date but otherwise resemble known unix commands for reasons of intuition. The only exception being strptime which is analogous to the libc function of the same name. + strptime Command line version of the C function + dateadd Add durations to dates or times + dateconv Convert dates or times between calendars + datediff Compute durations between dates or times + dategrep Grep dates or times in input streams + dateround Round dates or times to \"fuller\" values + dateseq Generate sequences of dates or times + datesort Sort chronologically. + datetest Compare dates or times + datezone Convert date/times to timezones in bulk Examples ======== I love everything explained by example to get a first impression. So here it comes. dateseq ------- A tool mimicking seq(1) but whose inputs are from the domain of dates rather than integers. Typically scripts use something like $ for i in $(seq 0 9); do date -d \"2010-01-01 +${i} days\" \"+%F\" done which now can be shortened to $ d","default_branch":null,"files":null,"tree":[],"storefront":"/r/hroptatyr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hroptatyr/dateutils/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}