date static method

String date(
  1. DateTime d
)

The full day: "28 Aug 2026". Day first, month as a word — a numeric month is the one date shape that means two different days on two sides of the Atlantic.

Implementation

static String date(DateTime d) => '${d.day} ${month(d)} ${d.year}';