db.sqlit3: Add double binding and reading support.
logging: Time conversion cleanup, with a likely minor efficiency improvement (less /etc/localtime statting) thrown in.