Answers for "c# current datetime to string format 2021-09-22T17:00:45.695967-04:00"

C#
1

Convert DateTime Format 04-08-2021 00:00:00 to string '08/04/2021' in C# c#

Date1.ToString("MM'/'dd'/'yyyy")
Posted by: Guest on August-10-2021
1

Convert DateTime Format 04-08-2021 00:00:00 to string '08/04/2021' in C# c#

DateTime Date1 = DateTime.Parse("04-08-2021 00:00:00");
Console.WriteLine(Date1.ToString("MM/dd/yyyy", CultureInfo.InvariantCulture));
Posted by: Guest on August-10-2021

Code answers related to "c# current datetime to string format 2021-09-22T17:00:45.695967-04:00"

C# Answers by Framework

Browse Popular Code Answers by Language