showing results for - "iso string to timestamp javascript"
Jadon
17 Jan 2018
1// convert ISO string to JavaScript Date object
2let date = new Date("2021-06-02T14:13:54.470Z");
3
4// convert Date object UNIX timestamp
5Math.floor(date / 1000) // 1622643234