We've covered this a few times in this forum. Most recently in this thread.
IsDateValid does date validation completely on the client side. It uses several different methods for fraud detection, but due to its nature (the fact that it's completely client-side) it's still vulnerable to fraud.
If you want a fraud-free method then contact your server and get the time from there.