Working with Dates in VB.NET

  • Thread starter Thread starter Justin Dutoit
  • Start date Start date
You don't set the date, you assign it, like you would assign any other
variable value:

DateTime MyDate = DateTime.Now; // C#

Dim MyDate As DateTime = DateTime.Now ' VB.Net

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top