Comment obtenir l'horodatage actuel dans Sqlite? current_time, current_date, current_timestamp renvoient tous deux des dates formatées, au lieu d'une longue.
sqlite> insert into events (timestamp) values (current_timestamp);
sqlite> insert into events (timestamp) values (current_date);
sqlite> insert into events (timestamp) values (current_time);
sqlite> select * from events;
1|2010-09-11 23:18:38
2|2010-09-11
3|23:18:51
Ce que je veux:
4|23234232