I'm trying to sign an Amazon request and I need the following timestamp format:
gmdate('Y-m-d\TH:i:s\Z');
How can I obtain that in a nodejs environment? Many thanks in advance.
I'm trying to sign an Amazon request and I need the following timestamp format:
gmdate('Y-m-d\TH:i:s\Z');
How can I obtain that in a nodejs environment? Many thanks in advance.
For anyone who will need this:
new Date().toISOString()
That's it. Merry Xmas to the downvoters!