Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   How to create a datepicker in PHP? (http://siteownersforums.com/showthread.php?t=150247)

suhanarai 12-21-2014 10:59 PM

How to create a datepicker in PHP?
 
How to create a datepicker in PHP?

george.web13 12-27-2014 08:49 AM

Check these 2 links :
http://www.triconsole.com/php/calendar_datepicker.php
http://www.phpclasses.org/package/33...ndar-date.html

The best is to use a javascript datepicker in your php site.

marclewis 12-30-2014 04:27 AM

In PHP class, you can use pop-up window to create date picker and user can choose a date from a calendar because the class will automatically generate the HTML and JavaScript code.

satvat 02-05-2015 04:08 AM

you can use date functionality term otherwise too many open source are available, datepicker tools as well....

kathyrose 02-10-2015 03:47 AM

Read more about it at
$datepicker = new \Kendo\UI\DatePicker('datepicker');
$datepicker->min(new DateTime('1900-01-01'))
->max(new DateTime('2099-12-31'))
->value(new DateTime('today', new DateTimeZone('UTC')));
?>
echo $datepicker->render();
?>

ramskl 11-18-2015 10:21 PM

Quote:

Originally Posted by kathyrose (Post 461964)
Read more about it at
$datepicker = new \Kendo\UI\DatePicker('datepicker');
$datepicker->min(new DateTime('1900-01-01'))
->max(new DateTime('2099-12-31'))
->value(new DateTime('today', new DateTimeZone('UTC')));
?>
echo $datepicker->render();
?>

This method is not a correct one.


All times are GMT -7. The time now is 06:56 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.