Compare day and show hour only using DateTime formats
Posted
by Vitor Reis
on Stack Overflow
See other posts from Stack Overflow
or by Vitor Reis
Published on 2010-06-10T13:39:37Z
Indexed on
2010/06/10
13:42 UTC
Read the original article
Hit count: 232
Hello, I have a DateTime column in my SQL database, how do I check if the Day in that is Today, or yesterday?
What I want to is something like: If date is today then the result would be "Today, at " same for yesterday..
© Stack Overflow or respective owner