Last active
January 17, 2016 04:27
-
-
Save sbruner/82f9b6844342d5cc06e9 to your computer and use it in GitHub Desktop.
Piklist: field: datepicker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
piklist('field', array( | |
'type' => 'datepicker', | |
'field' => 'my_date_field', | |
'label' => 'Date', | |
'value' => date('M d, Y', time() + 604800), // set default value | |
'options' => array( | |
'dateFormat' => 'M d, yy' | |
) | |
)); | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment