0 votes
in SQLite by
What is the use of datetime() function in SQLite?

1 Answer

0 votes
by

The SQLite datetime() function is used to retrieve current date and time in 'YYYY-MM-DD HH:MM:SS' format.

Syntax:

datetime(timestring, [ modifier1, modifier2, ... modifier_n ] )    

...