DATETIME Function
Returns full datetime.
sql
1SELECT DATETIME('now');
2-- Returns: 2024-03-15 14:30:00
3
4SELECT DATETIME('now', 'localtime');
5-- Returns local time
Returns full datetime.
1SELECT DATETIME('now');
2-- Returns: 2024-03-15 14:30:00
3
4SELECT DATETIME('now', 'localtime');
5-- Returns local time