Google News
logo
SQLite - Interview Questions
What is the use of datetime() function in SQLite?
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 ] )
Advertisement