开发者

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开发者_Python百科.Day, CDate("28/1/2011"), CDate("31/1/2011"))


For me, it returns 3.

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

What were you expecting??

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜