Java tutorial
//package com.java2s; import java.sql.Date; public class Main { public static String getDateDes(Date date) { if (date == null) { return null; } return date.toString(); } }