dayOfYear property

  1. @useResult
int get dayOfYear

The ordinal day of the year.

ZonedDateTime('Asia/Singapore', 2023, 4, 1).dayOfYear; // 91

Implementation

@useResult int get dayOfYear => _native.dayOfYear;