dateTime property
DateTime
get
dateTime
Converts this Moment to a standard Dart DateTime.
Any null components default to their zero value (year defaults to
the current year, month/date default to 1, time fields default to 0).
Implementation
DateTime get dateTime => DateTime(
year ?? DateTime.now().year,
month ?? 1,
date ?? 1,
hour ?? 0,
minute ?? 0,
second ?? 0,
);