parse Date Sql Format - CSharp System

CSharp examples for System:DateTime Format

Description

parse Date Sql Format

Demo Code


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");
       }
}

Related Tutorials