Create a new date from now with only the parts you need: DateTime now = new DateTime.now(); DateTime date = new DateTime(now.year, now.month, now.day);.
確定! 回上一頁