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):
-1ifleftDateTimeis earlier thanrightDateTime.0ifleftDateTimeis the equal torightDateTime.1ifleftDateTimeis later thanrightDateTime.