public static IsValidValue ( System.DateTime value ) : bool | ||
value | System.DateTime | The |
Résultat | bool |
public static bool IsValidValue(DateTime value) {
bool result=true;
try {
value.ToFileTimeUtc();
} catch {
result=false;
}
return result;
}
}