वहाँ एक बेहतर .net तरीका है अगर एक DateTime 'आज' तो नीचे कोड की जाँच की है?
if ( newsStory.WhenAdded.Day == DateTime.Now.Day &&
newsStory.WhenAdded.Month == DateTime.Now.Month &&
newsStory.WhenAdded.Year == DateTime.Now.Year )
{
// Story happened today
}
else
{
// Story didn't happen today
}