moment how to get current hour and minutes code example Example: moment hour minute moment().format('HH:mm:ss')