ValidationHelper.GetDate Method (Object, DateTime, CultureInfo) |
Returns the DateTime representation of an object or default value if not.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntaxpublic 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