code: def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"):
      """Return a time struct based on the input string and the
      format string."""
      tt = _strptime(data_string, format)[0]
      return time.struct_time(tt[: time._STRUCT_TM_ITEMS])
  
imports: import time
  import locale
  import calendar
  from re import compile
  from re import IGNORECASE
  from re import escape
  from datetime import date, timedelta, timezone
  from _thread import allocate_lock
label_desc: Use image node_id 4 for calling a global function with example usage: _strptime_time(data_string, format) and returns: time