systemtime_to_datetime#

systemtime_to_datetime(systemtime: int) datetime[source]#

Convert the LabOne “systemtime” into a datetime object.

Convert the LabOne “systemtime” returned in LabOne data headers from microseconds since Unix epoch to a datetime object with microsecond precision.

Parameters:

systemtime (int) – Labone “systemtime” returned by LabOne.

Returns:

datetime object.

Return type:

datetime