Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21842

Date Difference

$
0
0
Hi

I have written this code & it is returning value -2.

Date value is "26/02/2013"
DTPicker1.value is "28/02/2013"

MsgBox DateDiff("d", DTPicker1.Value, Date)

Thanks

Viewing all articles
Browse latest Browse all 21842

Trending Articles