date_to_str

qf_lib.common.utils.dateutils.date_to_string.date_to_str(date: datetime, date_format: DateFormat = DateFormat.ISO) 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