pyslk.convert_expiration_date

pyslk.convert_expiration_date#

pyslk.convert_expiration_date(exp_date: str) datetime#

interprets a date in a string and converts it into a datetime object

Parameters:

exp_date (str) – expiration date of the format ‘%a %b %d %H:%M:%S %Z %Y’

Returns:

expiration date converted into a datetime object

Return type:

datetime