i have this date output from aws cli "2020-08-13T12:30:00+00:00
".
I need to convert this string to unixtimestamp and the perform some calculation in shell script. if calculation is true then add +1day to this output in same format ex ("2020-08-14T12:30:00+00:00"), else keep the same as it is.
How to convert "2020-08-13T12:30:00+00:00" to unixtimestamp and how to add +1 day in "2020-08-13T12:30:00+00:00"