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