There are lots of ways that users can insert dates into forms. One way is to use the standard date functions, which automatically uses the date and time mechanisms provided by the browser. The problem with this is that the implementation of these standards can be variable with some being fantastic, while others have issues. One way in which you can get around this is to use the calendar class provided by Web-D-Zine( WDZ )
You can use the calendar class in a host of different ways and there are lots of different functions that use the calendar class as it's basis.
- Pop up calendars - Used to add dates into forms. Helpful as it allows users to insert a date in the correct format such as date
- Date - Either YYYY-MM-DD, DD/MM/YYYY or MM/DD/YYYY
- Week - YYYY-W??
- Month - MM or M
- Time functions - A variety of time functions are available, these can be programmed so that you can have time slots every 5minutes for example
- Integrated functions - This can use a combination of date and event classes to create an available time slot system if required
Look at the Example Time Form in the documentation to see the Calendar class in action