Example #1
0
 public static function isDate($pstrVal, $format, &$getDate)
 {
     if (!self::_isDefined($pstrVal)) {
         return false;
     }
     if (self::isDateInstance($pstrVal)) {
         if (isset($getDate)) {
             $getDate['date'] = $pstrVal;
         }
         return true;
     }
     return Toolset_DateParser::isDate($pstrVal, $format, $getDate);
 }