Printing Date & time in PHP

Date and time output

date() formats the current timestamp using the server's configured timezone. Set the application timezone explicitly when the displayed local time matters.

09/30/26 : 02:42:00
echo date(\"m/d/y : H:i:s\", time());
PHP Date Object
All Basic Codes


Subscribe to our YouTube Channel here



plus2net.com











PHP video Tutorials
✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer