SQLite User Forum

Convert datetime string to second since Epoch with millisecond precision
Login
If it is OK to use an extension, then you could use an extension which calls the `xCurrentTimeInt64` method of the VFS. (If it is unavailable for some reason, then call `xCurrentTime` instead and make the conversion yourself.)