To find out the # of minutes since a datetime in a sqlite table (example column jobend), do the below:
select jobend, cast(((julianday(current_timestamp)-julianday(jobend))*1440) as int) as mins_passed from job
To find out the # of minutes since a datetime in a sqlite table (example column jobend), do the below:
select jobend, cast(((julianday(current_timestamp)-julianday(jobend))*1440) as int) as mins_passed from job