in reply to Re^2: if && condition not working
in thread if && condition not working

The request was not if your data is properly formatted. The request was to show us examples, so we know what to feed into the subroutine to test it. How are your dates formatted? Is it month/day/year, day/month/year, year/month/day? Is January represented by "1" or "01"? This information is very significant for showing you how your code is incorrect.