code: def date_plus_seconds(init_date, seconds, caltype):
      
  
      end_date = init_date + datetime.timedelta(seconds=seconds)
  
      if caltype == NOLEAP:
          end_date += get_leapdays(init_date, end_date)
          if end_date.month == 2 and end_date.day == 29:
              end_date += datetime.timedelta(days=1)
  
      return end_date
docs: Get a new_date = date + seconds.
  
      Ignores Feb 29 for no-leap days.