Hi,

For example, I want to calculate 5 years less a month from May 2018,
i.e., "2018/05", the result should be "2013/06".

https://www.gnu.org/software/coreutils/manual/html_node/Examples-of-date.html

I don't think the direct calculation of this kind of relative date is
possible with coreutiles' date command. Some kind of external
arithmetic calculation must be used. Is it so?

-- 
Regards,
Peng

Reply via email to