• Antd time component DatePicker obtains time

    Antd selects the date control DatePicker is the output time object, which can be obtained through motion. First, install motion npm install motion to import motion from 'motion'; Use moment time to obtain the time value timestamp in the form. moment (time). unix()//123456789 to output the mass format moment (time)

    study 2019-05-18 nine thousand six hundred and twenty-two