I have a column of datetime type from which I would like to retrieve only the date. Is there anyway to do this?
Previously it was an epoch value where I convert it t
You can use the DATE function.
Example
> select date('2011-04-26 18:40:34') > 2011-04-26
You can get only the day with strftime,
> select strftime('%d', '2011-04-26 18:40:34') > 26