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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Nov 25, 2013, 11:16 PM EST
add namespace
using System.Globalization;
DateTime dt = DateTime.ParseExact("231113", "ddMMyy", CultureInfo.InvariantCulture);