function to convert utc date to normal one in moment js code example Example: convert moment date to utc format moment moment(timestamp).toISOString(true)