flutter 当前日期

DateTime dateTime= DateTime.now();
  •  

dateTime.day,今天多少号
dateTime.month 当前月份
dateTime.year
dateTime.hour
dateTime.minute
dateTime.second
dateTime.millisecond
dateTime.millisecondsSinceEpoch