nn top-level constant

String const nn

Outputs minute as two digits

Example: formatDate(new DateTime(1989, 02, 1, 15, 40), nn); // => 40 formatDate(new DateTime(1989, 02, 1, 15, 4), nn); // => 04

Implementation

const String nn = 'nn';