asp.net - Convert String to Date only in C# -


possible duplicate:
convert string date in .net

i new here, i'm stuck problem when have array of strings values of "120612" , "200612".

i need convert strings date format this, "tues 12 june, 2012". how that?

thanks in advance.

datetime.parseexact you're looking for:

datetime.parseexact("200612", "ddmmyy", system.globalization.cultureinfo.currentculture) 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -