Click or drag to resize
ValidationHelperLoadDateTime Method
Attempts to load the given new value as a DateTime to the result. Returns true if the conversion of the new value was successful, if not, returns false and keeps the value the same.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static bool LoadDateTime(
	ref DateTime value,
	Object newValue
)

Parameters

value
Type: SystemDateTime
Value to load
newValue
Type: SystemObject
New value

Return Value

Type: Boolean
See Also