This PHP class can be used to generate a nice, template driven date picker in a pop-up window.The class will automatically generate the required HTML and JavaScript code that will make a pop-up window appear to let the user choose a date from a calendar. The selected date will be passed to an user-specified control from the caller page.Every aspect is customizable: the aspect of the date picker is template driven meaning you can completely alter how the date picker looks by changing the template and the related CSS file; the format in which the date to be returned is configurable; the date picker can be instructed to show a specific year/month/date by default; the first day of the week can be also set;The date picker also supports localisation: in this version, beside the default english language file you can also choose between german and dutch.The code is heavily documented so you can easily understand every aspect of it.