full time string to milliseconds javascript code example Example: js get date in ms Date.now() // 1602680486141