date_to_str¶
-
qf_lib.common.utils.dateutils.date_to_string.
date_to_str
(date: datetime.datetime, date_format: qf_lib.common.utils.dateutils.date_format.DateFormat = <DateFormat.ISO: '%Y-%m-%d'>) → str[source]¶ Converts date object into string.
- Parameters
date – date to be converted to string
date_format – date format of the output string
- Returns
representation of a given date
- Return type
string