In Javascript, how do I print out a date with the date and time only? If I do this,
(new Date(params['mydate'])).toString();
I get
Fri Jan 08 2021 10:57:20 GMT-0600 (Central Standard Time)
but if I try "toDateString",
(new Date(params['mydate'])).toDateString();
I don't get the time at all ...
Fri Jan 08 2021
Any way to include the time without the timezone?