compare date trimming
<p>I have a field (nonTimeStampDate) that has date like this  </p>

<pre><code>2010-03-15  
</code></pre>

<p>and I want to check it against another field (timeStampDate) which is </p>

<pre><code>2010-03-15 15:07:45    
</code></pre>

<p>to see if the date matchs. But as you can see since the format is different it doesnt match even though the date is same.<br>
Any help will be appreciated.
thanks</p>
