title: How to set Date variable to null in VB.NET
body: <p>I want to assign the <code>DOB</code> variable as null.</p>
  
  <pre><code>Dim DOB As Date = DTPSdob.Value
  Dim datestring As String = DOB.ToString("d")
  If chkSdob.Checked = False Then
        DOB = 'I want to assign here DOB variable as null'
  Else
        DOB = datestring
  End If
  </code></pre>