Converting unix timestamp to Milliseconds in luxon.js
I have string data in the format "hh:mm" e.g. 05:00. I want it in Milliseconds e.g 1800000 console.log(DateTime.fromISO("05:00") and i get the following output: 1654574400000 but what i want it in seconds so i can compare it against a different value. I have tried putting .toMillis() at the end console.log(DateTime("05:00")).toMillis(); and it comes back with… Read More Converting unix timestamp to Milliseconds in luxon.js