dynamically input year based on date range
<p>I have an application that is good from September 1st of the current year, and ends January 15th of the following year.</p>

<p>What I need to do is enter the current year into the database when they submit their application. </p>

<p>If the user completes the application between Sept 1, 2012 and January 15, 2013 - 2012 will be entered into the table.</p>

<p>Say it is January 2, 2013 - it will enter 2012 into the year column</p>

<p>Say it is November 10, 2012 - it will enter 2012 into the year column</p>

<p>Say it is December 5, 2013 - it will enter 2013 into the year column.</p>

<p>I can't wrap my head around how I will be able to insert the appropriate year (in this situation anyway).</p>

<p>Any help is appreciated.</p>
