moment parse time input javascirpt code example Example: momentjs utcoffset moment().utcOffset() // will output 60 (for example)