def later_than(after, before):
 if isinstance(after, basestring):
  after = str_to_time(after)
 elif isinstance(after, int):
  after = time.gmtime(after)
 if isinstance(before, basestring):
  before = str_to_time(before)
 elif isinstance(before, int):
  before = time.gmtime(before)
 return (after >= before)

def later_than ( after , before ) : if isinstance ( after , basestring ) : after = str_to_time ( after ) elif isinstance ( after , int ) : after = time . gmtime ( after ) if isinstance ( before , basestring ) : before = str_to_time ( before ) elif isinstance ( before , int ) : before = time . gmtime ( before ) return ( after >= before )
true if then is later or equal to that .