if (time==10am)to (time==11.59am) { then textbox1.text='morning' }
DateTime
if (DateTime.Now.Hour >= 10 && DateTime.Now.Hour < 12) { textbox1.text = "morning"; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)