getNowDateString static method
get Now Date Str.(yyyy-MM-dd HH:mm:ss) 获取现在日期字符串,默认是:yyyy-MM-dd HH:mm:ss
Implementation
static String getNowDateString() {
return formatDate(DateTime.now());
}
get Now Date Str.(yyyy-MM-dd HH:mm:ss) 获取现在日期字符串,默认是:yyyy-MM-dd HH:mm:ss
static String getNowDateString() {
return formatDate(DateTime.now());
}