Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Format today's date in several ways
SUBMITTED BY:
henry1874w
DATE:
June 17, 2017, 1:24 p.m.
FORMAT:
Text only
SIZE:
227 Bytes
Raw
Download
Tweet
HITS:
199
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
echo "Today is " . date("Y/m/d") . "<br>";
echo "Today is " . date("Y.m.d") . "<br>";
echo "Today is " . date("Y-m-d") . "<br>";
echo "Today is " . date("l");
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus