"; echo "Date in year.month.day: " . date("Y-m-d") . "
"; echo "Date in year.month.day: " . date("Y.m.d") . "
"; echo "Day of the weak: " . date("l"). "
"; echo "Printing copyright info: ABC © ".date("Y"); ?>
Output
Date in year/month/day: 2019/12/15
Date in year.month.day: 2019-12-15
Date in year.month.day: 2019.12.15
Day of the weak: Sunday
Printing copyright info: ABC © 2019