select interval, due, datetime(due, "unixepoch", "localtime") as time from card order by modified desc