hh top-level constant

String const hh

Outputs hour (0 - 11) as two digits

Example: formatDate(DateTime(1989, 02, 1, 15), hh); // => 03

Implementation

const String hh = 'hh';