Forum Discussion
christwr
6 years agoContributor III
Date.now().toLocaleDateString({"timeZone":"America/Los_Angeles", "format":"yyyy-MM-dd"}) + " 00:00:00"
It will “handle” whether it’s currently PDT or PST.
shane
6 years agoNew Contributor II
That will get you a date-time string not a timestamp. How do you turn that into a timestamp?