I have this command that works as expected:
aws cloudwatch get-metric-statistics \
--region ap-south-1 \
--namespace AWS/RDS \
--metric-name DBLoad \
--period 60 \
--statistics Average \
--start-time 2023-06-12T01:00:00Z \
--end-time 2023-06-12T23:00:00Z \
But I wish I could write something like this...
--start-time now() - 12 hours \
--end-time now() \
Is it possible to use now() in shell?