renilative
renilative

Reputation: 159

DateDiff giving me the wrong answer

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

Answers (1)

MarkJ
MarkJ

Reputation: 30408

For me, it returns 3.

Which is the correct answer according to the documentation on DateDiff.

What were you expecting??

Upvotes: 1

Related Questions