Is it possible in a sqlite database to craete a table that has a timestamp column that default to DATETIME(\'now\') ?
Like this:
CREATE
It is syntax error because you did not write parenthesis
if you write
Select datetime('now') then it will give you utc time but if you this write it query then you must add parenthesis before this so (datetime('now')) for UTC Time. for local time same Select datetime('now','localtime') for query
(datetime('now','localtime'))