Time Formats

%a - "am" or "pm"
%h - hour, 12-hour format; i.e. "01" to "12"
%H - hour, 24-hour format; i.e. "00" to "23"
%g - hour, 12-hour format without leading zeros; i.e. "1" to "12"
%G - hour, 24-hour format without leading zeros; i.e. "0" to "23"
%i - minutes; i.e. "00" to "59"
%s - seconds; i.e. "00" to "59"
%z - timezone setting of this machine; i.e. "MDT"
%o - time zone offset from UTC (GMT); i.e. "-07:00"
Format String  Sample Output
-------------  -------------
%g:%i%a        1:25pm
               12:13am
               7:05pm

%H:%i          13:25
               00:13
               19:05