toDateTime method

DateTime toDateTime()

Returns the gregorian date value of this value.


final HijriDateTime currentDate = HijriDateTime.now();
final DateTime date = currentDate.toDateTime();

Implementation

DateTime toDateTime() {
  return _date;
}