MacroMethodContainerCompareDateTime Method |
Compares DateTime values.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntaxprotected 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