Date Select

Here's a Java Script function that displays a pop-up calendar that you can use for choosing dates. The code was snarfed from javascriptkit.com and was written by Denis Gritcyuk. I modified it to remove the timestamp component which I didn't need and brought the HTML code into compliance with XHTML Transitional 1.0.

Click here to pick a date

The code for the calendar code itself is contained in calendar.js. To display the calendar use a form like the following.

<form name="tstest">
<input
   type="text"
   name="postdate"
   size="10"
/>
<a href="javascript:show_calendar('document.tstest.postdate', document.tstest.postdate.value);">
<img src="cal.gif" width="16" height="16" border="0" alt="Pick a date" />
</a>
</form>

You'll also need the following three small .gif files for the previous button, next button and calendar icon.

Previous Next Calendar