How to do - MS SQL C# Excel Access
Wednesday, 25 July 2012
VB.NET - How to subtract 2 dates
' Example how to subtruct 2 dates using VB.NET
Dim d1, d2 As Date
d1 = #1/1/2000#
d2 = Now
Response.Write(CStr(d2.Subtract(d1).Days))
More Info:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment