public function format($format, $language = 'en', $store_as =null)
    {
        $this->format = $format;
        $this->language = $language;
        if ($store_as) {
            $this->store_as = $store_as;
        }
        return $this;
    }
public function format($format, $language = 'en', $store_as =null)
    {
        $this->format = $format;
        $this->language = $language;
        if ($store_as) {
            $this->store_as = $store_as;
        }
        return $this;
    }
public function format ( $ format , $ language = 'en' , $ store_as = null ) { $ this -> format = $ format ; $ this -> language = $ language ; if ( $ store_as ) { $ this -> store_as = $ store_as ; } return $ this ; }
set instarnal preview datetime format
@param $format valid php datetime format
@param string $language valid datetimePicker language string http://www.malot.fr/bootstrap-datetimepicker/
set instarnal preview datetime format