Ok, here's my reasonable effort/solution
Code:
myString = "10/05/2007"
myString2 = "25/05/2007"
MyDate = CTod(MyString)
MyDate2 = CTod(MyString2)
x = 0
If MyDate < MyDate2
Do While MyDate + x <> MyDate2
x = x + 1
EndDo
Else
Do While MyDate + x <> MyDate2
x = x - 1
EndDo
EndIf
? x
I'm not exactly happy with it, but it'll have do for now.
Any more ideas are more than welcomed
