How can I calculate the date preceding a given date in unix?

前端 未结 4 1561
执笔经年
执笔经年 2021-01-21 16:30

I have two variables: X and Y.

The value of X will be a date given in the format mmddyy and I want to calculate the date preceding that date

4条回答
提交回复
热议问题