I have a column which stores datetime like 2011-01-01 01:01:01 . I need to get list of date: 2011-01-01 2011-02-01 Is there any way I can list down date from datetime in a table?