earthkit-date - Manipulate dates
The earthkit-date can be invoked with various actions documented here, as follows:
earthkit-date <action> [args...]
- -h, --help
Print a help message and exit. Can be used as
earthkit-date --helpas well as for actions, e.g.earthkit-date shift --help.
shift - shift a date
Shift a date by the given number of days:
earthkit-date shift <date> <days>
- date
Reference date
- days
Number of days (can be negative)
diff - subtract two dates
Subtract date2 from date1, returning the number of days:
earthkit-date diff <date1> <date2>
- date1
First date (+)
- date2
Second date (-)