Hi,
I have to categorize the time into hour basic and day basic. I am using NOW() to store the current time. Here the time stores as "2013-06-22 13:40:04", I need to get the day of this time.(i.e. Monday, Tuesday...). And I need that hour also(i.e. from "13:40:04" I need "13" only). So first I have to separate the date and then have to find the day and hour from it.