In VB.NET, is there a way to set a DateTime variable to \"not set\"? And why is it possible to set a DateTime to Nothing, but not<
DateTime
Nothing
You can also use below just simple to check:
If startDate <> Nothing Then your logic End If
It will check that the startDate variable of DateTime datatype is null or not.