JSFiddle - React, Tailwind, and code Playground

JavaScript

moment.utc(1508803200000).format("DD/MM/YYYY HH:mm") // 24/10/2017 00:00
 moment.utc(1508803200000).utcOffset(5.5).format("DD/MM/YYYY HH:mm") // 24/10/2017 05:30
 moment.utc(1508803200000).utcOffset(5.5, true).format("DD/MM/YYYY HH:mm") // 24/10/2017 00:00
 moment.utc(1508803200000).valueOf() // 1508803200000
 moment.utc(1508803200000).utcOffset(5.5).valueOf() // 1508803200000
 moment.utc(1508803200000).utcOffset(5.5, true).valueOf() // 1508783400000
 
 why change in line 3 and 6, as in line 3 passing true,offset makes no difference to the date but if passed true in line 6 it produces a different epoch time as compared to line 5