Core/Html/Controls/DateTimePicker.php
public function useSeconds($bool = null)
    {
        if (isset($bool)) {

            $this->option_use_seconds = (bool) $bool;
            $this->set_options['use_seconds'] = 'useSeconds';

            return $this;
        }
        else {

            return $this->option_use_seconds;
        }
    }
public function useSeconds($bool = null)
    {
        if (isset($bool)) {

            $this->option_use_seconds = (bool) $bool;
            $this->set_options['use_seconds'] = 'useSeconds';

            return $this;
        }
        else {

            return $this->option_use_seconds;
        }
    }
public function useSeconds ( $ bool = null ) { if ( isset ( $ bool ) ) { $ this -> option_use_seconds = ( bool ) $ bool ; $ this -> set_options [ 'use_seconds' ] = 'useSeconds' ; return $ this ; } else { return $ this -> option_use_seconds ; } }
Set flag to use or not use saeconds int timepicker.
This option is "true" by default.
Calling this method without parameter returns the currently set value.

@param boolean $bool

@return boolean, \Core\Html\Controls\DateTimePicker
Set flag to use or not use saeconds int timepicker . This option is true by default . Calling this method without parameter returns the currently set value .