MyDate = CDate("20/05/2014").ToShortDateString
MyDate = Convert.ToDateTime("20/05/2014").ToShortDateString
Dim mydate as date mydate= DateTime.ParseExact("30/05/2014", "MM/yyyy/dd",CultureInfo.InvariantCulture);
SimpleDateFormat sdf = new SimpleDateFormat("MM:yyyy:dd"); Date date = new Date(); String time = sdf.format(date); System.out.println(time);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)