I have a xml file. and this xml file have a date and date format is 261113. how to get this date in own format.
Please help me.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sanjeeb LenkaPosted Nov 26, 2013, 4:16 AM
add namespace
using System.Globalization;
DateTime dt = DateTime.ParseExact("231113", "ddMMyy", CultureInfo.InvariantCulture);