We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to set an expiry date (TTL) on a dynamodb field, and want to say the current date + 3 minutes in the future.
With Wing I believe there is no easy way to do this? My suggestion after speaking with @Chriscbr is maybe we can add a utility on the datetime.
Add fromTimestamp function onto the datetime.
fromTimestamp
let original = datetime.utcNow(); let later = datetime.fromTimestamp(original.timestamp + 5 * 60); (5 minutes in the future)
No response
The text was updated successfully, but these errors were encountered:
Related: #7149
Sorry, something went wrong.
No branches or pull requests
Use Case
I'm trying to set an expiry date (TTL) on a dynamodb field, and want to say the current date + 3 minutes in the future.
With Wing I believe there is no easy way to do this? My suggestion after speaking with @Chriscbr is maybe we can add a utility on the datetime.
Proposed Solution
Add
fromTimestamp
function onto the datetime.Implementation Notes
No response
Component
No response
Community Notes
The text was updated successfully, but these errors were encountered: