WebsiteBaker Community Forum

General Community => Off-Topic => Topic started by: Woudloper on December 28, 2005, 07:59:50 PM

Title: [PHP] Looking for a form select date/time generation function
Post by: Woudloper on December 28, 2005, 07:59:50 PM
Currently I am working with PHP, but want to have a function which I can use to generate form dropdowns to make it possible to create a date/time selector.

I found such a function named 'html_select_date', but this is a smarty related function as you can see here (http://smarty.php.net/manual/en/language.function.html.select.date.php).  As 'WebsiteBaker' isn't currently using smarty I need to find a PHP equivalent version of this function. Can someone help me to find a function that generates form select lists for a date time, with the following dropdowns:


Hope someone can help me...
Title: Re: [PHP] Looking for a form select date/time generation function
Post by: pcwacht on December 28, 2005, 10:18:05 PM
I only know of some javascript based ones

Have a look:
http://web4w3.com/input_date.html
http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm
http://www.calendarxp.net/tt_pop.shtml

John
Title: Re: [PHP] Looking for a form select date/time generation function
Post by: Woudloper on December 29, 2005, 10:34:48 PM
Thanks for your reply. I picked the one (http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm) that can be found on Dynamic Drive. This is working like a charm!