dateutils

Tools to manipulate and analyze dates with a focus on financial data

brewmacoslinux
Try with needOr install directly
Source

About

Tools to manipulate dates with a focus on financial data

Commands

dateadddatediffdateseqstrftimestrptime

Examples

Calculate the difference between two dates in days$ datediff 2024-01-15 2024-02-15
Generate a sequence of dates from start to end$ dateseq 2024-01-01 2024-01-10
Add days to a date$ dateadd 2024-01-15 +30d