I have a unix timestamp, and I\'m trying to convert it into a calendar date such as MM/DD/YYYY. So far, I have this:
MM/DD/YYYY
Might be a little late but for new issues like this I use this code:
moment(timestamp, 'X').format('lll');
You can change the format to match your needs and also add timezone like this:
moment(timestamp, 'X').tz(timezone).format('lll');