1 2 3 4 5 6 7 8
<?php class Ticket886 extends TPage { public function onButtonClicked($sender, $param) { $this->Output->Text = date('Y-m-d', $this->Year->TimeStamp); } }