/**
  *	This checks if the array with hours and minutes, days, months and years elements is a valid datetime or not.
  *
  *	@param $val		The value to test.
  *	@param $opts	(not required)
  */
 function datetime($val, $opts = '')
 {
     return YDValidateRules::date($val) && YDValidateRules::time($val);
 }