epochDays property

  1. @useResult
int get epochDays

The days since Unix epoch, assuming this date is in UTC.

Implementation

@useResult int get epochDays => _native.millisecondsSinceEpoch ~/ Duration.millisecondsPerDay;