Every record in my SQLite database contains a field which contains a Date stored as a string in the format \'yyyy-MM-dd HH:mm:ss
SQLite
Date
string
\'yyyy-MM-dd HH:mm:ss
When you sure the format of text field is yyyy-MM-dd HH:mm:ss (ex.: 2017-01-02 16:02:55), So It works for me simply:
yyyy-MM-dd HH:mm:ss
2017-01-02 16:02:55
SELECT * FROM Table ORDER BY dateColumn DESC Limit 1
Without any extra date function!