• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

[PHP] Looking for a form select date/time generation function

Started by Woudloper, December 28, 2005, 07:59:50 PM  ( Read 27,677 times )

Woudloper

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.  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:


  • Month
  • date
  • year
  • hour
  • minute
  • seconds

Hope someone can help me...


    Woudloper

    Thanks for your reply. I picked the one that can be found on Dynamic Drive. This is working like a charm!

      \n\n