lastChangedAt in AWS DynamoDB

It’s weird what this means. I found that AWS Timestamp uses epoch date time format and on Java SDK with getLastChangedAt explain that it is the timestamp when the transition state was last changed.

So you have to convert your time to epoch time format.

import time
epoch_time = int(time.time())
print(epoch_time)

Written by

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store