minute hours day year moment format code example Example: moment hour minute moment().format('HH:mm:ss')