how to get moment in utc format in javascript code example Example: convert moment date to utc format moment moment(timestamp).toISOString(true)