As I looked on msdn I can’t figure it out what is the difference between the Date data type and DateTime. They both have the same constructors. If there is no difference, than why we have them both?
Printable View
As I looked on msdn I can’t figure it out what is the difference between the Date data type and DateTime. They both have the same constructors. If there is no difference, than why we have them both?
Date is a VB.NET-specific data type that maps to System.DateTime.
Date is to DateTime as Integer is to Int32, Long is to Int64 and Short is to Int16.
Ah I see it now; my brain got blocked for a while. Thanks guys, that makes sense.