Hi Glen!
I dont know what you try to achieve with the timer running every second, but
if you want something like a validation you should use events like
TextChanged
or
KeyDown
on the textbox.
with keydown it could look something like that:
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key != Key.Enter) return;
DateTime dtToCheck = DateTime.Today;
DateTime inputParsed;
DateTime.TryParse(textBox1.Text, out inputParsed);
if (inputParsed != null)
{
if (inputParsed.Equals(dtToCheck))
{
}
}
}