title: FromDate Should be Less Than ToDate in Cakephp Validation
body: <p>I want to compare Effective from date should be less than Effective to date.my demo code is ..</p>
  
  <pre><code> public function addValidations()
          {
              parent::addValidations();
              $this-&gt;validate['EffectiveToDate'] = array
              (
                  'notempty' =&gt; array
                  (
                      'rule'    =&gt; array('comparison', 'greater or equal', 'EffectiveFromDate'),
                      'allowEmpty' =&gt; false,
                      'message' =&gt; 'Effective From Date Greater Than To Date.',
                  ),
              );
          }
  </code></pre>
  
  <p>so ,please suggest me appropriate solution.</p>