Mega Code Archive
Categories
/
Php
/
Development
Get date and time
Hello!
$dat=date("d.m y"); $tm=date("h:i:s"); echo "The current date is $dat
\n"; echo "The current time is $tm
\n"; ?>