I want to show date in DD-MM-YYYY format in datagrid. By default SQLite store the data in date-time format. So how can I convert date-time format to date format in flex by using SQLite.
+1
A:
You can use strftime
, from Date And Time Functions.
Example:
SELECT strftime('%d-%m-%Y', 'now')
output:
10-06-2010
Nick D
2010-06-10 13:26:28