The following code should be added to the bootstrap of your yii application. If you would like to keep it in it's own file (recommended) create a config/giiant.php
, then include it from your config/bootstrap.php
.
Use a DateTimePicker for the scheduled_at
field: