Docs » Autodocs » dos.library » CompareDates
CompareDates -- Compares two datestamps (V36)
result = CompareDates(date1,date2) D0 D1 D2 LONG CompareDates(struct DateStamp *,struct DateStamp *)
Compares two times for relative magnitide. <0 is returned if date1 is later than date2, 0 if they are equal, or >0 if date2 is later than date1. NOTE: this is NOT the same ordering as strcmp!
date1, date2 - DateStamps to compare
result - <0, 0, or >0 based on comparison of two date stamps
DateStamp(), DateToStr(), StrToDate()
|