Reputation: 159
The function for getting the difference in days between two days is giving me a wrong answer here...What could i be doing wrong???
DateDiff(DateInterval.Day, CDate("28/1/2011"), CDate("31/1/2011"))
Upvotes: 0
Views: 522
Reputation: 30408
For me, it returns 3.
3
Which is the correct answer according to the documentation on DateDiff.
What were you expecting??
Upvotes: 1