ValidationHelperLoadDateTimeSystem Method |
Attempts to load the given new value as a DateTime to the result (it uses en-us culture). Returns true if the conversion of the new value was successful, if not, returns false and keeps the value the same.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static bool LoadDateTimeSystem(
ref DateTime value,
Object newValue
)
Parameters
- value
- Type: SystemDateTime
Value to load - newValue
- Type: SystemObject
New value
Return Value
Type:
BooleanSee Also