Which one is faster [if (x or y)] or [if x else if y]
<p>I need to check if date the user written is valid so i want to know what will be faster ?</p>

<pre><code>if(dayOfManth &gt; 12 || dayOfManth &lt; 1) { return false; }
return true;
</code></pre>

<p>or</p>

<pre><code>if(MonthOfYear &gt; 12) { return false; }
if(MonthOfYear &lt; 1)  { return false; }

return true;
</code></pre>

<p>the same is done for DayOfMonth(1-31) and others (year range, short month,FEB leap day,ect.)</p>

<p>What would be faster? </p>
