A straighforward way to pull that off (whilst considering your current time zone it taking advantage of the ISO yyyy-mm-dd format) is:
let d = new Date().toISOString().substring(0,19).replace("T"," ") // "2020-02-18 16:41:58"
Usually, this is a pretty all-purpose compatible date format and you can convert it to pure date value if needed:
Date.parse(d); // 1582044297000