How to extract only 'Day' value from full 'Date' string?
<p>I have an array of Date values in the format of 'Y-m-d'. I want to loop over the array and only extract the 'd' of each member, but can't figure out to split it. Do I use substrings in some way?</p>

<p>Put simply, I have '2010-11-24', and I want to get just '24' from that. The problem being the day could be either single or double figures.</p>

<p>Thanks in advance.</p>
