XMPDateTime_Compare

Compare two XMP dates.
XMPDateTime_Compare(leftDateTime;rightDateTime) ➔ comparisonResult
leftDateTime Text Left datetime string.
rightDateTime Text Right datetime string.
↩︎ comparisonResult Longint The comparison result.

Compare XMP date leftDateTime to rightDateTime.

Parameters leftDateTime and rightDateTime are the XMP dates to be compared.

The comparison result is returned in the method result (comparisonResult):

  • -1 if leftDateTime is earlier than rightDateTime.
  • 0 if leftDateTime is the equal to rightDateTime.
  • 1 if leftDateTime is later than rightDateTime.