Login or sign up Lost password?
Login or sign up
Your code outputs exactly the same thing mine does. Also, I found that comparing YYYYMMDD works and I suspect is probably more efficient.