Jan 14, 2003 #1 tvb2002 Programmer Jan 1, 2003 4 TN Hello People of the World, Tek-Tips Search is temporarily down for routine .... :-( please help me: How to compare two dates.
Hello People of the World, Tek-Tips Search is temporarily down for routine .... :-( please help me: How to compare two dates.
Jan 14, 2003 #2 EzLogic Programmer Aug 21, 2001 1,230 US if date1 > date2 or if date1 = date2 or if date1 < date2 or if between(datecheck,date1,date2) true else false endif something like that? Please let me know if this helped you Tekno Wireless Toyz Ypsilanti, Michigan Upvote 0 Downvote
if date1 > date2 or if date1 = date2 or if date1 < date2 or if between(datecheck,date1,date2) true else false endif something like that? Please let me know if this helped you Tekno Wireless Toyz Ypsilanti, Michigan
Jan 14, 2003 #3 RLG07734 Programmer May 9, 2002 33 US just compare them as you would any other variables. dDate1 = ctod('01/02/2000') dDate2 = date() dDate <= dDate2 will result .T. or you can use dtos() functions dtos(dDate1) < dtos(dDate2) will result .T. Upvote 0 Downvote
just compare them as you would any other variables. dDate1 = ctod('01/02/2000') dDate2 = date() dDate <= dDate2 will result .T. or you can use dtos() functions dtos(dDate1) < dtos(dDate2) will result .T.