Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static String ChangeDateDotNetFormat(String date) { if (date.isEmpty()) { return ""; } try { Date dt = new SimpleDateFormat("yyyy-MM-dd kk:mm:ss").parse(date.replace("T", " ")); return new SimpleDateFormat("dd/MM/yyyy").format(dt); } catch (Exception ex) { return date; } } }