Compare DateTime.Now to exact time
<p>I want to have exact time of the day on the timer elapsed event 
Below is what I am trying to do</p>

<pre><code>    string now = DateTime.Now.ToString("HHmm");

        if (now == "1630")
        {
            int a = 10;
        }
</code></pre>

<p>even when the time is 1630 the if statement is false,What am I doing Wrong here.</p>
