code: def get_timespan(name):
      
      
      if name not in data_quants.keys():
          print("That name is currently not in pytplot") 
          return
      print("Start Time: " + tplot_utilities.int_to_str(data_quants[name].trange[0]))
      print("End Time:   " + tplot_utilities.int_to_str(data_quants[name].trange[1]))
      
      return(data_quants[name].trange[0], data_quants[name].trange[1])
docs: This function extracts the time span from the Tplot Variables stored in memory.  
      
      Parameters:
          name : str 
              Name of the tplot variable
           
      Returns:
          time_begin : float
              The beginning of the time series
          time_end : float
              The end of the time series
              
      Examples:
          >>> # Retrieve the time span from Variable 1
          >>> import pytplot
          >>> x_data = [1,2,3,4,5]
          >>> y_data = [1,2,3,4,5]
          >>> pytplot.store_data("Variable1", data={'x':x_data, 'y':y_data})
          >>> time1, time2 = pytplot.get_timespan("Variable1")