differenceInDays method

int differenceInDays(
  1. DateTime other
)

Difference in days between this date and other

Implementation

int differenceInDays(DateTime other) => diff(other).inDays;