Click or drag to resize
MacroMethodContainerCompareDateTime Method
Compares DateTime values.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax
C#
protected static Object CompareDateTime(
	DateTime date1,
	DateTime date2,
	string op
)

Parameters

date1
Type: SystemDateTime
DateTime to compare
date2
Type: SystemDateTime
DateTime to compare
op
Type: SystemString
Comparison operator

Return Value

Type: Object
See Also