/Nette-DateTimePicker

DatePicker and DateTimePicker Input Control

Primary LanguagePHP

DateTimePicker for Nette Framework

DatePicker and DateTimePicker input controls for Nette Framework

This add-on creates input box to select date or date and time.

Requirements

GNU Lesser General Public License

LGPL licenses are very very long, so instead of including them here we offer you URLs with full text:

Example of using DI extension

config.neon:

extensions:
  tbDatePicker: RadekDostal\NetteComponents\DateTimePicker\TbDatePicker\DI\TbDatePickerExtension
 
tbDatePicker:
  format: j. n. Y

Form:

$form->addTbDatePicker('date', 'Date')
  ->setNullable()
  ->addRule(self::Range, NULL, [new \DateTime('2016-09-01'), new \DateTime('2016-09-15')]);

Learn more in examples.