Ejemplo n.º 1
0
def str2epoch(astring):
    """Convert a string to an epoch time"""

    try:
    
        ret = _stock._str2epoch(astring)
    
    except _stock._ElogException, _e:

        _raise_elog(_e)
Ejemplo n.º 2
0
def str2epoch(astring):
    """Convert a string to an epoch time"""

    return _stock._str2epoch(astring)