Hi, I am trying to convert the _createdAt timestamp (which is in UTC) to display local time with the following code:
d = new Date(value+' UTC');
return(d.toString());
However, I get "Invalid Date". How do I accomplish this?
Extra question: I want to display it like mm/dd/yy hh:mm format. How is this done?
Thanks!