Hi there,
I have used Jason's Date Input Calendar, and need a extra functrion for my form to work.
I have two calendar's, an arrival date and a departure date.
I need to count the number of days between the arrival date and the departure date.
Calendar's are setup as follows:
HTML Code:<td colspan="3">Arrival date: <script type="text/javascript">// <![CDATA[ DateInput('orderdate1', true, 'DD-MON-YYYY') // ]]></script> </td>Could you please advice how I can calculate the amount of days between the two dates then place the number of days into a textbox.HTML Code:<td colspan="3">Departure date: <script type="text/javascript">// <![CDATA[ DateInput('orderdate2', true, 'DD-MON-YYYY') // ]]></script> </td>
Thank you in advance :-)



Reply With Quote

Bookmarks