StringExtensions.IsDate(this string str) Method
.NET Standard 2.x
Tests whether a string value is a valid DateTime.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static bool? IsDate(this string str);
Parameters
str
System.String
A string whose value you want to test to determine whether it is a valid DateTime.
Returns
System.Boolean
Returns true
if str is a valid DateTime and false
if it is not. If str is null
, IsDate
returns null
.
Examples
Coming soon.
Applies to
.NET Standard
2.x