I am storing a timestamp field in a SQLite3 column as TIMESTAMP DATETIME DEFAULT CURRENT_TIMESTAMP and I was wondering if there was any way for it to include mi
TIMESTAMP DATETIME DEFAULT CURRENT_TIMESTAMP
To get number of milliseconds since epoch you can use julianday() with some additional calculations:
julianday()
-- Julian time to Epoch MS SELECT CAST((julianday('now') - 2440587.5)*86400000 AS INTEGER);