Example 2 - Set min date in different ways in jQuery UI Datepicker

Click on the textbox

Date Object (minDate: new Date('2022-12-5'))
Number (minDate: -3)
String (minDate: "-3w")