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

258
Views
Cómo formatear una cadena UTC como MMMM dd, yyyy en Javascript para kore.ai

La cadena que tengo: 2021-11-02T00:00:00.000Z. Necesito mostrar esto como 02 de noviembre de 2021.

¿Podría alguien ayudarme con esto, por favor?

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

0

Le gustaría usar lo que ha proporcionado la clase Date, aquí hay un ejemplo completo.

 const date = new Date('2021-11-02T00:00:00.000Z') const month = date.toLocaleString('default', { month: 'long' }) const day = date.getDay() const year = date.getFullYear() console.log(`${month} ${day}, ${year}`)

about 4 years ago · Juan Pablo Isaza Report

0

Puedes hacer algo como esto en vainilla JS

 const options = { year: 'numeric', month: 'long', day: 'numeric' }; console.log(new Date('2021-11-02T00:00:00.000Z').toLocaleDateString("en-US", options));

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!