Create a ISO String from date text input intended for UTC date in JavaScript

preview_player
Показать описание

Learn how to create an ISO string in the UTC timezone from text date strings like "14/01/2022", "14 January 2022", "Jan, 14 2022"  in JavaScript.

#JavaScript #JavaScriptDates #Dates #Yagisanatode
Рекомендации по теме
Комментарии
Автор

Super helpfull. I am working on a project where time is very important so this was great to convert all my times to proper UTC to keep things in sync across my users. Really trying to use js Date out of the box and not download a library for it.

rafaelnoriega