Click or drag to resize
ValidationHelperIsDateTime Method
Returns true if the object representation matches the date time format.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool IsDateTime(
	Object value,
	CultureInfo culture = null
)

Parameters

value
Type: SystemObject
Value to check
culture (Optional)
Type: System.GlobalizationCultureInfo
Culture for conversion

Return Value

Type: Boolean
See Also