title: C# .net Datetime to Integer value
body: <p>I am really new to C# and I am having problem in converting DateTime to it's Integer date format. I have search already the net but I did not find my answer.</p>
  
  <p>I want is to convert the current Date to integer.
  Example the date "2011-08-11" in format "yyyy-MM-dd" has an integer value of 734360</p>