SQL to query convert chrome time stamp
I am using DB Browser for SQLite and I'm trying to query the Chrome history database and return the chromium timestamp to be human readable and include milliseconds, alternative options I've tried return the incorrect year, can anyone point me in the right direction please.
For example I would like acheive the following output for the time stamp 14/06/2022 10:05:30.25
SELECT u.url AS URL, u.title AS Title, u.visit_count As "Visit Count", datetime(u.last_visit_time / 1000000 + (strftime('%s', '1601-01-01')), 'unixepoch', 'localtime') As "Last Visited Date Time", datetime(v.visit_time / 1000000 + (strftime('%s', '1601-01-01')), 'unixepoch', 'localtime') AS "Visited Date Time" FROM urls u, visits v WHERE u.id = v.url