LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / Equality Operator
first value
second value

In This Topic
    Equality Operator (LxDateTime)
    In This Topic
    Compares 2 LxDateTime objects for equality
    Public Operator =( _
       ByVal left As LxDateTime, _
       ByVal right As LxDateTime _
    ) As System.Boolean
    public System.bool operator ==( 
       LxDateTime left,
       LxDateTime right


    first value
    second value

    Return Value

    In order for them to be considered the same the Type must be the same. The timezone is taken into account when comparing them. If an explicit timezone is not present then they are considered to be UTC (Zulu time). If greater control is required then us Equals(LxDateTime,TimeZoneInfo)

    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