From 4e5d5f4aa10950e24a56a82858368f33ad1d7cd7 Mon Sep 17 00:00:00 2001 From: Costas K <11378310+kacos2000@users.noreply.github.com> Date: Wed, 5 Jun 2019 15:53:16 +0300 Subject: [PATCH] Android 7 calllog.db calls query --- calllog_db.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calllog_db.sql b/calllog_db.sql index 3bf9ea3..f5cbb87 100644 --- a/calllog_db.sql +++ b/calllog_db.sql @@ -64,7 +64,7 @@ case numbertype --cached number type (Home, Work, etc) associated with the phone formatted_number, post_dial_digits, --post-dial portion of a dialed number name, -duration, --The duration of the call in seconds +time(duration,'unixepoch') as 'duration', --The duration of the call in seconds datetime(date/1000, 'unixepoch','localtime') as 'call_date', --The date the call occured, in milliseconds since the epoch datetime(last_modified/1000, 'unixepoch','localtime') as 'lastmodified',--The date the row is last inserted, updated, or marked as deleted, in milliseconds since the epoch photo_id,