def _ParseEndDate(self, date, time_func=time.time):
    if not date:
      return time_func()
    struct_time = time.strptime('%s' % date, '%Y-%m-%d')
    return calendar.timegm(struct_time) + 86400
Translates a user-readable end date to a POSIX timestamp.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/AppCfgApp._ParseEndDate