dd top-level constant

String const dd

Outputs day as two digits

Example: formatDate(new DateTime(1989, 2, 21), dd); // => 21 formatDate(new DateTime(1989, 2, 5), dd); // => 05

Implementation

const String dd = 'dd';