title: Return the last 2 digits a number
body: <p>How can I get the last 2 digits of:</p>
  
  <pre><code>&lt;departureDate&gt;200912&lt;/departureDate&gt;
  </code></pre>
  
  <p>to my object: </p>
  
  <pre><code>$year = $flightDates-&gt;departureDate-&gt;year;
  </code></pre>