Answers for "moment unix timestamp in nodejs"

2

convert unix timestamp to date using moment

var dateString = moment.unix(value).format("MM/DD/YYYY");
Posted by: Guest on April-29-2020
0

moment unix time in second

var CurrentDate = moment().unix();
Posted by: Guest on July-20-2021

Browse Popular Code Answers by Language