Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->Form->addWidget(
- 'datetime',
- 'Sandbox\View\Widget\DateTimeWidget'
- );
- ...
- echo $this->Form->control('published', ['type' => 'datetime']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement