title: Find out the Date time format of string date in c#
body: <p>I am making an application. The application uses date format such as
  <code>"2012-11-21 15:22:35"</code>.<br>
  I already know that the format is <code>"yyyy-MM-dd HH:mm:ss"</code>. But how can I find programmatically the date &amp; time format of an arbitrary input string? Is there any way to do this? </p>