@{ var txt = ""; if ( DateTime.Now.Hour > 12 ) { txt = "Good Evening"; }else { txt = "Good Morning"; } }
The message is @txt