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
ifleftDateTime
is earlier thanrightDateTime
.0
ifleftDateTime
is the equal torightDateTime
.1
ifleftDateTime
is later thanrightDateTime
.