SQLite default datetime rounded to minutes
Posted: Mon 21 Aug 2017 15:05
Hi,
I have a table field defined in my table in such manner:
The problem is that when I insert new record it always rounds time part to whole minutes. The issue does not occur when I insert record directly from SQLite client. I must admit that to have backward compatibility with other DAC-s I use dated UniDAC (v6.1).
I have a table field defined in my table in such manner:
Code: Select all
Created DATETIME DEFAULT (datetime('now','localtime'))