substr the date function in php from the full representation of the day of the week to the first letter
<p>I'm uncertain on how to do it and it seems a bit tricky, is it possible?</p>

<pre><code>date('l/m/d')
</code></pre>

<p>Using this date function it returns </p>

<p>Tuesday 4/30</p>

<p>I only want to return the first letter of the day of the week.</p>

<p>T 4/30</p>

<p>As usual any help would be greatly appreciated. Thanks in advance.</p>

<p>I have to concat it into a sql query like so:</p>

<pre><code>sum(case when DATEDIFF(dd,cast(GETDATE() as date),cast(a.follow_up as date))='1' then 1 else 0 end) 'W " . substr(date('l/m/d'), 0, 1) . strtotime('+1 day') . "',
</code></pre>

<p>update answer, i had to concat the second part of date again:</p>

<pre><code>'" . substr(date('l/m/d', strtotime('+1 day')), 0, 1) . date('m/d') . "'
</code></pre>
