title: Converting DateTime to string
body: <p>I want to convert <code>DateTime</code> to <code>String</code>.</p>
  
  <p>check the below code.</p>
  
  <pre><code>namespace TestDateConvertion
  {
      class Program
      {
          static void Main(string[] args)
          {
              object value = new DateTime(2003,12,23,6,22,30);
              DateTime result = (DateTime)value;
              Console.WriteLine(result.ToString("dd/MM/yyyy"));
              Console.ReadLine();
          }
      }
  }
  </code></pre>
  
  <p>I have changed my system date format to Faeroese.</p>
  
  <p>and I am getting the output as </p>
  
  <blockquote>
    <p>23-12-2013</p>
  </blockquote>
  
  <p>How should I get the output as ?</p>
  
  <blockquote>
    <p>23/12/2013</p>
  </blockquote>
  
  <p>And consider this another scenario,
  suppose, i have a Customculture Info , and i want to convert my date w.r.t my custom culture,
  what i was doing before was as follows,</p>
  
  <pre><code>string.Format(customCulture, "{0:G}", result);
  </code></pre>
  
  <p>now how shall i get the datetime in string using customCulture and it should not depend on system DateTime?</p>