Breaking News
Home / Training / PHP / The PHP Date formats

The PHP Date formats

The PHP Date formats

php date function is used to display a date or a time in different formats,Some Examples Are below

echo "Today is " . date("Y/m/d") . "";
echo "Today is " . date("Y.m.d") . "";
echo "Today is " . date("Y-m-d") . "";
echo "Today is " . date("l");

if you want to see php time function with date please PHP Time

About admin

Leave a Reply

Your email address will not be published. Required fields are marked *