Question: I am having a state object in React which has a Date value.

const [myDate, setMyDate] = useState(new Date());

How do I increment the date by one day using setMyDate() ?

Answer: 
You should return a different object in `setMyDate` so that React can tell it has been modified, try:

```
setMyDate(date => {
    date.setDate(date.getDate() + 1);
    return new Date(date)
});

```
You can use moment.js from npm.

```
setMyDate(moment(myDate).add(1, 'days').format());

```