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

424
Views
How to change timezone in Date.now in mogodb?

My current MongoDB Schema is

currentTime : { type: Date, default: Date.now }

which gives me output as:

"2022-03-20T09:28:44.000Z"

this time is as UTC timezone but I want to change it to IST so I want to add five and a half hours to it, how can it be achieved?

I tried finding an answer for this but was not able to find any adequate solution, I am just a beginner any help will be appreciated, Thanks in advance!

about 4 years ago · Juan Pablo Isaza
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!