Form Validation - Date Method

Value should be a valid date
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index e98c87f..3e8204e 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -1475,6 +1475,31 @@
 	// --------------------------------------------------------------------
 
 	/**
+	 * Value should be a valid date
+	 *
+	 * @param	string
+	 * @return	bool
+	 */
+	public function date($date)
+	{
+		if (strtotime($date) === FALSE)
+		{
+			return FALSE;
+		}
+
+		if ($date instanceof DateTime)
+		{
+			return TRUE;	
+		}
+
+		$date = date_parse($date);
+
+		return checkdate($date['month'], $date['day'], $date['year']);
+	}
+
+	// --------------------------------------------------------------------
+
+	/**
 	 * Is a Natural number  (0,1,2,3, etc.)
 	 *
 	 * @param	string