Answers for "c# datetime parse dd-mmm-yy to dd-mm-yy"

C#
1

c# date to string yyyy-mm-dd

var date_string = date.ToString("yyyy-MM-dd");
Posted by: Guest on October-29-2020
0

c# parse the date in DD/MMM/YYYY format

CultureInfo culture = new CultureInfo("es-ES");
String myDate = "15/05/2018";
DateTime date = DateTime.Parse(myDate,culture);
Console.WriteLine(date.ToString("dd/MMM/yyyy"));
Posted by: Guest on November-30-2020

C# Answers by Framework

Browse Popular Code Answers by Language