string_to_time#
- ansys.aedt.core.modules.profile.string_to_time(time_string: str) timedelta#
Convert a string to a
datetime.timedeltaobject.- Parameters:
- time_string
str Time string in the format “hh:mm:ss”
- time_string
- Returns:
Examples
>>> time_object = string_to_time("01:02:03")