CSharp examples for System:DateTime Format
parse Date Sql Format
using System.Text; using System.Linq; using System.Collections.Generic; using System;// w w w . jav a 2 s . c o m public class Main{ public static string parseDateSqlFormat(DateTime dt) { return dt.ToString("yyyy-MM-dd"); } }