I have to disabled a button if reserved_date is 2 days from now. How can i do that. Pls check my code below
today = new Date()
    <Button type="submit" color="primary" variant="contained" disabled={new Date(value.reserved_date) <= today}>
         Submit
    </Button>
 
     
    