Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

208
Views
Create a UTC timestamp in ISO format

I need to create a UTC timestamp which is in ISO format

I tried:

new Date().getTime().toISOString();

But I get Uncaught TypeError: (intermediate value).getTime(...).toISOString is not a function

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You can simply do new Date().toISOString();

about 4 years ago · Juan Pablo Isaza Report

0

getTime() returns the number of milliseconds since 1970, which is a number. toISOString() is a method of the Date object. you just want new Date().toISOString().

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!