Answers for "vb string date to date format dd mm yyyy to yyyymmdd"

0

vb string date to date format dd mm yyyy to yyyymmdd

//vb System.DateTime 
DateTime date = DateTime.ParseExact(text, "dd/MM/yyyy",
                                    CultureInfo.InvariantCulture);

string reformatted = date.ToString("yyyyMMdd", CultureInfo.InvariantCulture);
Posted by: Guest on March-17-2021

Code answers related to "vb string date to date format dd mm yyyy to yyyymmdd"

Browse Popular Code Answers by Language