Convert a string to datetime <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/1009457/how-can-i-convert-a-string-into-datetime-in-net">How can I convert a string into datetime in .NET?</a> </p> </blockquote> <p>i have a string in the following format "15/03/2046". how can convert this string to a DateTime object? </p> <p>My problem is when i do Convert.ToDateTime("15/03/2046") i get an exception.<br> when i do Convert.ToDateTime("03/03/2046") every thing works fine.<br> so i guess that i have to specify the format somehow while converting....</p>