Lets say you have a date which is 08/25/2008 and you need to convert it to 2008-08-15. Notice I'm changing the date from 25 to 15.
declare:
using System.Text.RegularExpressions;
string filedate = "08/25/2008";
string newdate = Regex.Replace(filedate, @"^(?
No comments:
Post a Comment