Click to See Complete Forum and Search --> : Compares dates


Sigal Laniado
January 12th, 2000, 05:04 AM
How do i compare 2 dates with the format "dd\mm\yy"?

Dr_Michael
January 12th, 2000, 05:25 AM
suppose we have date1 and date2:

a=format(date1,"yyyymmdd"
b=format(date2,"yyyymmdd"
if a>b then max=a else max=b




Michael Vlastos
Automation Engineer
Company SouthGate Hellas SA
Development Department
Athens, Greece

Dr_Michael
January 12th, 2000, 06:32 AM
I can say I am a "date specialist". Ask me whetever you need about dates. I have a lot experience on such subject... Maybe I can help you. Did it work for now?

Michael Vlastos
Automation Engineer
Company SouthGate Hellas SA
Development Department
Athens, Greece

Sigal Laniado
January 12th, 2000, 07:13 AM
Thanks for your help!. It helps me althought I found the "DateDiff" function which also do the work.
If I will have more questions about dates I will not hesitate to ask you directly!
anyway thank you.