str_to_date

qf_lib.common.utils.dateutils.string_to_date.str_to_date(string_date: str, date_format: DateFormat = DateFormat.ISO) datetime[source]

Converts string into date object.

Parameters:
  • string_date – date encoded in the string

  • date_format – format of the date passed as a string

Returns:

object representing date

Return type:

date