Tests if a string is a valid date string.
boolean Core_Valid::date( string $str )
参数列表 参数 类型 描述 默认值 $str string Date to check
$str
string
boolean
public static function date($str) { return (strtotime($str) !== false); }