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

361
Views
Why new Date() with `T17:00:00.000Z` is returning the next date?

When I try this new Date('2015-01-25T17:00:00.000Z') it will returning the next date Jan 26 2015 00:00:00, this is an expected behaviour for me, but why it is like this?

Is there any explanation from this js behaviour when using TZ with value of OO:OO:OO.

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

0

The Z at the very end means "Zulu Time" which is another word for UTC.

The result you see in your console is the time in your current timezone. You are probably 5 hours ahead of UTC.

If you remove the Z, the output you get is the same as what you put in, because Javascript will use local time by default.

about 4 years ago · Juan Pablo Isaza Report

0

UTC (Zulu) time is '2015-01-25T17:00:00.000Z'. The local time in Jakarta is UTC+7: Jan 26 2015 00:00:00.

See Time in Indonesia and ISO 8601.

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!