From what I can tell Date and DateTime have the same functionality. Is there a reason why I would want to use one instead of the other?
To convert a datetime to a date, you can use the CONVERT() , TRY_CONVERT() , or CAST() function.
In VB.NET Date is an alias to System.DateTime, so yes, they're the same thing. You can see all the aliases in this chart on MSDN.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With