title: Date Taken of an Image C#
body: <p>I need to rename my Image (.jpg) and  the new name needs to include the date taken. I can get the date taken of the image but can not include it into new File name.</p>
  
  <pre><code>Image im = new Bitmap("FileName.....");
  PropertyItem pi = im.GetPropertyItem(0x132);
  dateTaken = Encoding.UTF8.GetString(pi.Value);
  dateTaken = dateTaken.Replace(":", "").Replace(" ", "");
  string newName = dateTaken +".jpg" ;
  MessageBox.Show(newName.ToString()); 
  </code></pre>