I can get the current end of month date by below javascript. However, I get stuck on setting condition with it. For instance, if the input date is after 21st of the current