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

198
Views
JS date difference

When I do new Date() on my browser's console. I will get the time that is on my device. Like this Thu Dec 16 2021 17:07:55 GMT+0530 (India Standard Time) But when I do new Date in my node project I got a different time. 2021-12-16T11:37:40.931Z

what do I have to do to get the time which I am getting in the browser's console? I think there is some timeZone issue. but I did not change anything. So why did this happen?

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

0

This should "convert" from UTC to your timezone (new Date()).toString()

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!