TMSiSDK.device.devices.apex.apex_device.ApexDevice.get_device_time

TMSiSDK.device.devices.apex.apex_device.ApexDevice.get_device_time#

ApexDevice.get_device_time() datetime#

Gets the time on the device.

Raises:
  • TMSiError – TMSiErrorCode.device_error if get time from the device fails.

  • TMSiError – TMSiErrorCode.device_not_connected if not connected.

Returns:

returns the datetime on the device.

Return type:

datetime.datetime