pm4py.algo.filtering.common.timestamp.timestamp_common module#

pm4py.algo.filtering.common.timestamp.timestamp_common.get_dt_from_string(dt)[source]#

If the date is expressed as string, do the conversion to a datetime.datetime object

Parameters:

dt – Date (string or datetime.datetime)

Returns:

Datetime object

Return type:

dt