Tweaked checkDate so that it actually works (fug u 0-indexed months and also mysterious extra years being added to target date)