<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div><br></div><div>Perhaps I'm using the wrong query when searching the archive, but I can't find a way to use non-db-specfic dates in a where clause. Since my date columns are defined as dateinflating/deflating, I hoping I could use DateTime objects, but I'm guess that only happens when dates are retrieved or inserted:</div><div><br></div><div><div>&nbsp;&nbsp; &nbsp;my $processes =&nbsp;$schema-&gt;resultset('Process')<span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><span class="Apple-style-span" style="font-family: Helvetica; white-space: normal; ">-&gt;search(</span></span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>{date_created&nbsp;=&gt;&nbsp;{</div><div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'&gt;=' =&gt; $dt_min_date,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp;'&lt;=' =&gt; $sdt_max_date</div></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}}</div><div>&nbsp;&nbsp; &nbsp;);</div><div><br></div><div>However, the DT objects are simply stringified. So is there a DB generic way?</div><div><br></div><div>Thanks</div></div></body></html>