Answers for "moment js cast date from UTC+1"

1

moment format sql date

moment(new Date()). format("YYYY-MM-DD HH:mm:ss");
Posted by: Guest on October-15-2020
1

convert moment date to utc format moment

moment(timestamp).toISOString(true)
Posted by: Guest on July-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language