Oracle's ( or not) weekday convention
<p>I have written a query for my co-workers to use, that involves pulling data from Oracle Express g11 on a given date. 
The date that query uses is last weekday(yesterday or Friday).</p>

<p>For some reason same query returns different number to represent the day of the week.</p>

<p>Example:</p>

<pre><code>SELECT TRUNC('13June2016') - TRUNC('13June2016', 'D')
FROM DUAL
</code></pre>

<p>When run on my computer this query returns <code>0</code> but on my co-worker's computer it returns <code>1</code>. This happens on every SQL client/interface available to us.</p>

<p>To the best of my knowledge our computers and users in DB are setup the same but clearly some setting is off.</p>

<p>Frankly I tried to google where does this discrepancy comes from but I received a lot of unrelated results. I'm lost because I'd don't even know where to look for the setting(or bug not sure) that accounts for this difference.</p>