How to check if a DateTime occurs today?

Solution 1:

if (newsStory.WhenAdded.Date == DateTime.Today)
{

}
else
{

}

Should do the trick.

Solution 2:

if( newsStory.Date == DateTime.Today )
{
    // happened today
}

Solution 3:

Try

if (newsStory.Date == DateTime.Now.Date) 
{ /* Story happened today */ }
else
{ /* Story didn't happen today */ }