today method
Returns a new DateTime object representing the current date at midnight (00:00:00).
Implementation
DateTime today() {
return DateTime(year, month, day);
}
Returns a new DateTime object representing the current date at midnight (00:00:00).
DateTime today() {
return DateTime(year, month, day);
}