Click or drag to resize
ValidationHelper.GetDate Method (Object, DateTime, CultureInfo)
Returns the DateTime representation of an object or default value if not.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static DateTime GetDate(
	Object value,
	DateTime defaultValue,
	CultureInfo culture
)

Parameters

value
Type: System.Object
Value to convert
defaultValue
Type: System.DateTime
Default value
culture
Type: System.Globalization.CultureInfo
Culture to use

Return Value

Type: DateTime
See Also