display the current date and time in react js code example Example: convert datetime value to time only in reactjs <Datetime dateFormat="YYYY-MM" dateFormat={false} />