Way back in the beginning of 2006 I created a date input module for the web that allowed you to type in text like "next tue" and it would convert to a date. At the time I was tasked with helping our Notes group make everything web. This was hard for some programmers because at the time Notes web pages didn't have much in the way of validation. A date field in the client had all the attributes of a date field while on the web it was a text field. I started with Simon Willison's "A better way of entering dates", fixed a few bugs and added more date output formats. You can find the instructions here.
Way back in the beginning of 2006 I created a date input module for the web that allowed you to type in text like "next tue" and it would convert to a date. At the time I was tasked with helping our Notes group make everything web. This was hard for some programmers because at the time Notes web pages didn't have much in the way of validation. A date field in the client had all the attributes of a date field while on the web it was a text field. I started with Simon Willison's "A better way of entering dates", fixed a few bugs and added more date output formats. You can find the instructions here.
http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup-instructions
And the code here.
http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup
The drop down calendar and date text modules are separate. You are welcome to use the text code to enhance your date code.