aktuelle.kurse/oldies/m133/4_Modulinhalte_und_Uebungen/00-Anwendungen-Beispiele-Uebungen/kapitel03/datum.php

7 lines
149 B
PHP
Raw Normal View History

2022-02-23 22:44:33 +01:00
<?php
$timestamp = time();
$datum = date("d.m.Y",$timestamp);
$uhrzeit = date("H:i:s",$timestamp);
echo $datum," - ",$uhrzeit," Uhr";
?>