Exemple #1
0
def epoch2str(epoch, fmt, tz = None):
    """Convert an epoch time to a string"""

    try:
    
        ret = _stock._epoch2str(epoch, fmt, tz)
    
    except _stock._ElogException, _e:

        _raise_elog(_e)
Exemple #2
0
def epoch2str(epoch, fmt, tz = None):
    """Convert an epoch time to a string"""

    return _stock._epoch2str(epoch, fmt, tz)