Template file: Home.page
Class file: Home.php

/ActiveControls/Samples/TActiveDatePicker/Home.php

<?php

class Home extends TPage
{
	public function dateChanged($sender, $param)
	{
		$this->label1->Text = date("r", $this->date1->TimeStamp);
	}
}