Skip to content
Advertisement

Tag: aws-amplify

How to use AWSDateTime in Java

Trying to figure out how to input a AWSDateTime. I don’t want to use Java 8. createDate requires Temporal.DateTime Is there any other way I can accomplish this? Answer I ended up using the function in DateUtils. https://docs.aws.amazon.com/appsync/latest/devguide/scalars.html AWSDateTime An extended ISO 8601 date and time string in the format YYYY-MM-DDThh:mm:ss.sssZ. Note: This will store the date in GMT time.

Advertisement