Jump to content

Adust date and time


Nandini

Recommended Posts

hi i want to put option to adjust date and time in my website. i can change date and time by using php taking the values as input.

 

Here input means i want to take hour filed as like linux (In linux Adjust Date & Time popup, there is a filed for hour. If i click on up arrow value will be increased by 1, if i click down arrow value will be decresed by 1).

 

How can i create such type of fields.

 

Can any one help me pls.

Link to comment
https://forums.phpfreaks.com/topic/154176-adust-date-and-time/
Share on other sites

Try http://developer.yahoo.com/yui/3/examples/widget/widget-extend.html

If it's too complicated, try googling for "javascript spinner -java" or "javascript numericupdown -java" or "javascript stepper -java".

 

As that's what the form element you're trying to mimic is called in other programming languages.

Link to comment
https://forums.phpfreaks.com/topic/154176-adust-date-and-time/#findComment-811031
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.