public static java.lang.String getCurDate()
获取服务器当前的日期(年月日).
返回:
日期字符串(yyyy-MM-dd)
/**
* 获取服务器当前的日期(年月日).
* @return 日期字符串(yyyy-MM-dd)
*/
public static String getCurDate(){
return format(new Date()).substring(0,10);
}