convert date to unix moment with seconds code example Example: convert unix timestamp to date using moment var dateString = moment.unix(value).format("MM/DD/YYYY");