FML/Controls/Label.php
public function addClockFeature($showSeconds = true, $showFullDate = false)
    {
        $clock = new Clock($this, $showSeconds, $showFullDate);
        $this->addScriptFeature($clock);
        return $this;
    }
public function addClockFeature($showSeconds = true, $showFullDate = false)
    {
        $clock = new Clock($this, $showSeconds, $showFullDate);
        $this->addScriptFeature($clock);
        return $this;
    }
public function addClockFeature ( $ showSeconds = true , $ showFullDate = false ) { $ clock = new Clock ( $ this , $ showSeconds , $ showFullDate ) ; $ this -> addScriptFeature ( $ clock ) ; return $ this ; }
Add a dynamic Feature showing the current time

@api
@param bool $showSeconds  (optional) If the seconds should be shown
@param bool $showFullDate (optional) If the date should be shown
@return static
Add a dynamic Feature showing the current time