getDate static method

String getDate()

获取日期

Implementation

static String getDate() {
  DateTime now = DateTime.now();
  return '${now.year}${now.month}${now.day}/${now.millisecondsSinceEpoch}';
}