获得当前月的第一天
DateTime getFirstDayOfMonth(DateTime date) { DateTime localDate = date.toLocal(); return DateTime.utc(localDate.year, localDate.month, 1); }