Questions tagged [awstimestamp]

2 questions
0
votes
2 answers

How to convert python datetime to AWSTimestamp - appsync scalar type?

How to convert python datetime to AWSTimestamp - appsync scalar type? Python format: 2021-07-14 09:11:48.563323 to AWSTimestamp format: 1930-01-01T16:00:00-07:00
Thirumal
  • 8,280
  • 11
  • 53
  • 103
-1
votes
2 answers

How to convert AWSTimestamp into python datetime?

How to convert AWSTimestamp into python DateTime? I am using AWS AppSync scalar type AWSTimestamp for datetime Example: 2021-02-02T16:00:00-07:00 How to convert the above format to python datetime?
Thirumal
  • 8,280
  • 11
  • 53
  • 103