Format Date as dd.MM.yyyy - CSharp System

CSharp examples for System:DateTime Format

Description

Format Date as dd.MM.yyyy

Demo Code


using System.Web;
using System.Linq;
using System.Collections.Generic;
using System;//from  ww w .j  av  a2 s.c  om

public class Main{
        public static String FormatDate(DateTime date) //InMaJavaWS.date
        {
            return date.ToString("dd.MM.yyyy");
        }
}

Related Tutorials