def str2epoch(astring): """Convert a string to an epoch time""" try: ret = _stock._str2epoch(astring) except _stock._ElogException, _e: _raise_elog(_e)
def str2epoch(astring): """Convert a string to an epoch time""" return _stock._str2epoch(astring)