Answers for "c#, format date to yyyy-mm-dd"

C#
0

c# date string format yyyy-mm-dd

public static string FORMAT_PDF = "dd/MM/yyyy";
public static string convertDateTimeFormatByStrDate(string strDate,string format)
{
	DateTime temp = Convert.ToDateTime(strDate);
	return temp.ToString(format);
}
Posted by: Guest on January-14-2021

Code answers related to "c#, format date to yyyy-mm-dd"

C# Answers by Framework

Browse Popular Code Answers by Language