def get_timestamp(with_t=False):
    if with_t:
        time.strftime('%Y-%m-%dT%H:%M:%S')
    return time.strftime('%Y-%m-%d %H:%M:%S')
return ISO format of current timestamp:
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/fileutils.py/get_timestamp