The josDskTimeStampCompare call, shown in the following example, compares two
int josDskTimeStampCompare(const DskTimeStamp & datetimeA,
const DskTimeStamp & datetimeB);
The parameters for this call are listed in the following table.
| Parameter | Description |
|---|---|
| DskTimeStamp & datetimeA | First TimeStamp type and date and time values that are to be compared |
| DskTimeStamp & datetimeB | Second TimeStamp type and date and time values that are to be compared |
The josDskTimeStampCompare call returns the values listed in the following table.
| Returned Value | Description |
|---|---|
| 0 | datetimeA is equal to datetimeB |
| -1 | datetimeA is less than datetimeB |
| 1 | datetimeA is greater than datetimeB |