dkutils.datakitchen_api.datetime_utils module

dkutils.datakitchen_api.datetime_utils.get_utc_timestamp()[source]

Order run timings (i.e. start-time, end-time, and duration) are in milliseconds since the epoch date (i.e. 1/1/1970) in UTC. This function returns the current time in this format so it can be compared with order run timings. This was derived from DKModules DKDateUtils.py get_utc_timestamp() function.

Returns

Current UTC time in milliseconds since the epoch date (i.e. 1/1/1970).

Return type

int