moment js create time in the past hour code example Example: momentjs utcoffset moment().utcOffset() // will output 60 (for example)