Please help me with this program :  protected void Page_Load(object sender, EventArgs e)
    {
        

        if (DateTime.Now.Hour < 12)
        {
            lblGreeting.Text = "Good Morning";
            
        }
        else if (DateTime.Now.Hour < 17)
        {
            lblGreeting.Text = "Good Afternoon";
            
        }
        else
        {
            lblGreeting.Text = "Good Evening";
            
        }
        
        
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
       if (DateTime.Now.Date = TextBox2.Text)
       {
           Label2.Text = "Happy Birthday";
       }
       else
       {
           Label2.Text = "Have a nice day";

       }
    }
It gives me error at the last if condition under button 1 click event shows error that cannot implicitly convert type string to system date and time what changes should be done?