Guys,
I have createdate field in a table and I want to use that field to group items in a gridview based on the date. For instance, if the datediff is less than 25 hours ago then I want to show the word "Today" or if greater than 24 but less than 48 hours show the word "Yesterday" etc. It is like outlook style I need help please.
I can either do it in the sql or code behind so please help.
...
Go to the complete details ...