Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

369
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda