parameters: (adb)
return_statement: return datetime.datetime.strptime(
        device_now_string[0], '%a %b %d %H:%M:%S %Z %Y')
docstring: Determine the date time on the device.
  
    Args:
      adb: An instance of AndroidCommands.
  
    Returns:
      A datetime instance.
docstring_summary: Determine the date time on the device.
docstring_tokens: Determine the date time on the device .
function: def _GetDeviceDateTime(adb):
    """Determine the date time on the device.
  
    Args:
      adb: An instance of AndroidCommands.
  
    Returns:
      A datetime instance.
    """
    device_now_string = adb.RunShellCommand('TZ=UTC date')
    return datetime.datetime.strptime(
        device_now_string[0], '%a %b %d %H:%M:%S %Z %Y')
function_tokens: def _GetDeviceDateTime ( adb ) : device_now_string = adb . RunShellCommand ( 'TZ=UTC date' ) return datetime . datetime . strptime ( device_now_string [ 0 ] , '%a %b %d %H:%M:%S %Z %Y' )