moment js date to unix timestamp code example Example: momentjs utcoffset moment().utcOffset() // will output 60 (for example)