idmtools.utils.time module

idmtools.utils.time.timestamp(time=None)

Return a timestamp.

Parameters

time – A time object; if None provided, use now.

Returns

A string timestamp in UTC, format YYYYMMDD_HHmmSS.