How to get current date in DDMMYY format and split them into DD, MM and YY using C#?
<p>This is what i could write?</p>

<pre><code>string text = string.Format("{0:d/MM/yy}", DateTime.Now.Date);
text = text.Replace("-", "");
char[] cString = text.ToCharArray();
string year = text.Substring(text.Length - 2);
string month = cString[2].ToString() + cString[3].ToString();
string day = cString[0].ToString() + cString[1].ToString();
</code></pre>

<p>Please help me find the mistake as it is not getting displayed correctly on my Win Form Application. It is showing 01 05 13 as 10 __ 13.</p>
