Not a member? Signup now
Following link to get unix timestamp.
var res = new Date(timestamp).toISOString();
Output (using lambda function and test locally)
node -r esbuild-register run.ts { statusCode: 200, body: '"2022-12-17T16:11:24.798Z"' }