Skip to content

IsDateTime Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

Overloads ​

NameDescription
bool IsDateTime(string input, CultureInfo culture = null, bool exactOnly = null)Attempts to parse the string based known rRet time string formats
bool IsDateTime(string input, out DateTime date, CultureInfo culture = null, bool exactOnly = null)Attempts to parse the string based known rRet time string formats
bool IsDateTime(string input, out DateTimeOffset date, CultureInfo culture = null, bool exactOnly = null)Attempts to parse the string based known rRet time string formats

bool IsDateTime(string input, out DateTime date, CultureInfo culture = null, bool exactOnly = null) ​

csharp
bool IsDateTime(string input, out DateTime date, CultureInfo culture = null, bool exactOnly = null)

Attempts to parse the string based known rRet time string formats

Returns ​

boolean

bool IsDateTime(string input, out DateTimeOffset date, CultureInfo culture = null, bool exactOnly = null) ​

csharp
bool IsDateTime(string input, out DateTimeOffset date, CultureInfo culture = null, bool exactOnly = null)

Attempts to parse the string based known rRet time string formats

Returns ​

boolean

bool IsDateTime(string input, CultureInfo culture = null, bool exactOnly = null) ​

csharp
bool IsDateTime(string input, CultureInfo culture = null, bool exactOnly = null)

Attempts to parse the string based known rRet time string formats

Returns ​

boolean