print time php code example Example: display time php date(format,timestamp) //example date("Y.m.d") //default timestamp is current time.