dayNameShort property

String get dayNameShort

Get the short name of the day of week

Example:

final date = DateTime(2023, 12, 25); // Mon
print(date.dayNameShort); // "Mon"

Implementation

String get dayNameShort => format('EEE');