1

I am using a JMESPath query to filter out files from S3 objects based on LastModified date. S3 LastModified date is in UTC so I have to convert to EST.

Is there a function in JSMEPath Query which can convert from UTC to EST?

My query is:

aws s3api list-objects  --bucket mybucket --prefix folder --query 'Contents[*][Key,LastModified>=`2017-02-21T11:09:41.000Z` && LastModified<=`2017-02-22T11:09:41.000Z`]' --output text | grep -i True | grep -i file_search_pattern | sed -e 's/True//g'
arghtype
  • 4,376
  • 11
  • 45
  • 60

0 Answers0