Creates a string representation of the time value date_tm
and stores it in buffer
.
buffer_size
should be at least 64 to be safe. If show_midnight
is false
, and the time is
midnight, then only the date is stored in buffer
. If show_zero_seconds
is false
, then if the time
has zero seconds only the hour and minute of the time are stored in buffer
.
date_tm |
The |
use_24_hour_format |
A bool. |
show_midnight |
A bool. |
show_zero_seconds |
A bool. |
buffer |
A BusName buffer to store the time string in. |
buffer_size |
The length of |