Date Difference is a built in function in VB.

Which VB you are using?