I need a function to validate any string provided in GET['date'] parameter.
The function will return true if the string provided is in format "j-n-Y", and is a date between today and the future.
Examples:
http://mysite.org/index.php?date=iwhechiuhwe will return false.
http://mysite.org/index.php?date=13-5-2017 will return true.
http://mysite.org/index.php?date=13-5-2010 will return false.
http://mysite.org/index.php?date=19-5-2014 will return true.