time_format_date_and_time


Description:


public void time_format_date_and_time (tm date_tm, bool use_24_hour_format, bool show_midnight, bool show_zero_seconds, string buffer, int buffer_size)

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.

Parameters:

date_tm

The tm to convert to a string.

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 buffer.


Namespace: E