JavaScript Date setTime one liner

Real simple question! I’m trying to create a google chart using datetime objects, which take the Date() objects in JavaScript. Since I’m looping through a bunch of data (from flask), I’d like to be able to create a new Date() object and would just like to know if I’m setting the date object correctly in one line.

Here’s what I’m using at the moment new Date().setTime(1660549080000.0) and storing this directly in a google charts column, unfortunately something is not working and I’m wondering if its this!