Liquid XML Data Binder 2019
CompareTo Method (LxDateTime)

LiquidTechnologies.XmlObjects Namespace > LxDateTime Structure : CompareTo Method
The LxDateTime to compare with
Determines how date/times with no timezone are treated
Compares the current LxDateTime with date1
Syntax

Parameters

date1
The LxDateTime to compare with
defaultTimeZone
Determines how date/times with no timezone are treated

Return Value

If the 2 LxDateTime have different Type then the result is LxDateTime.CompareResult.Indeterminate. The 2 values are compared taking the timezone into account. If a LxDateTime does not have a timezone then it is deemed to be a local time. If date1 is null, it is considered to be less than the current value.
Requirements

Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

See Also

Reference

LxDateTime Structure
LxDateTime Members