ValidationHelperIsDateTime Method |
Returns true if the object representation matches the date time format.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax 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:
BooleanSee Also