I want to add IAM policy with time limit. But in the time limit it didn't have way to specify the time zone. How can define the time zone or what is the time zone considered here?

         "Condition": {
            "DateGreaterThan" : {
               "aws:CurrentTime" : "2019-01-17T01:00:00Z"

Pretty much all dates and times in AWS are in UTC Timezone.

That’s quite annoying for us in those parts of the world that switch from standard to daylight saving (DST) time and back every half a year as the offset from UTC changes.

You can try to specify a timezone in your timestamp as 2019-01-17T01:00:00+12:00 which may or may not work but it won’t help with the DST changing offset.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.