Answers for "c# string date format yyyymmddhhmmss"

C#
0

c# format string to date yyyymmdd

DateTime dt = DateTime.ParseExact(dateString, "ddMMyyyy", 
                                  CultureInfo.InvariantCulture);
dt.ToString("yyyyMMdd");
Posted by: Guest on June-02-2020
0

c# datetime format ymd

Use DateTime.Now.ToString("yyyy-MM-dd h:mm tt");
Posted by: Guest on October-10-2020

C# Answers by Framework

Browse Popular Code Answers by Language