Click or drag to resize
IConversionServiceGetDateTime Method
Returns the DateTime representation of an object or default value if not.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
DateTime GetDateTime(
	Object value,
	DateTime defaultValue,
	string culture
)

Parameters

value
Type: SystemObject
Value to convert
defaultValue
Type: SystemDateTime
Default value
culture
Type: SystemString
Culture

Return Value

Type: DateTime
See Also