moment.js convert input code example Example: momentjs utcoffset moment().utcOffset() // will output 60 (for example)