title: date time in VB.NET Forms
body: <p>i want to save Chart image to my computer and Image name is  ChartName+Date+Time 
  Ex PieChart13jan20141127.JPEG </p>
  
  <p>is any format for time and date can do that  , because my format in my Code is return nothing 
  my code is : </p>
  
  <pre><code>If My.Computer.FileSystem.DirectoryExists("C:\charts") Then
              Dim todaysdate As String = String.Format("{ddmmyyyy}", System.DateTime.Today)
              Chart1.SaveImage("C:\charts\PieChart" &amp; todaysdate &amp; ".Jpeg", System.Drawing.Imaging.ImageFormat.Jpeg)
              MessageBox.Show("Done")
          Else
              MsgBox("Please create Charts Folder @ C:\")
          End If
  </code></pre>