Add the classes "autoDate" and "autoDateTime" to any input elements that you want to convert into smart date/time fields. Try entering the following values in the above fields. (NOTE: The value is updated after the value is changed.)
3 (will enter as current month/3/current year), Now, Today, Tomorrow, July 2008, next Friday, last April, 2004.08.07, 6/4/2005, 8:15 PM, 22:30:45, +5years, +3, -2
If you use the jQuery Validation plugin, you can add the following method to validate the combined date/time values.
|We have been with SunStar Media since their first days and it has always been a pleasure. You will never meet more hard working and easy to work with people. It would take a crowbar to pry us away from them - and then we wouldn't leave willingly!|