moment return hour minut and sec code example Example: moment hour minute moment().format('HH:mm:ss')