Generate an RFC 3339 timestamp similar to Google Tasks API?

It seems like a lot of complicated answers have been given, but this works just fine, does it not?

new Date().toISOString()

Leave a Comment