<h3>day() function</h3> Extract the day from a date, or the number of days from a <code>Interval</code> <h4>Syntax</h4> <code>day(date)</code><br> <code>day(Interval)</code><br> <h4>Arguments</h4> <code>date</code> - is date or datetime. The date to extract the day from. <br> <code>Interval</code> - is Interval. The Interval to return the number of days from. <h4>Example</h4> <!-- Show example of function.--> <code>day('2012-05-12') → 12</code><br> <code>day(tointerval('3 days')) → 3</code><br> <code>day(age('2012-01-01','2010-01-01')) → 730</code><br>