dayOfYear property

  1. @useResult
int get dayOfYear

The ordinal day of the year.

LocalDateTime(2023, 4, 1, 12, 30).dayOfYear; // 91

Implementation

@useResult int get dayOfYear => _native.dayOfYear;