<?php // Prints the day, date, month, year, time, AM or PM $dollar = date("l jS of F Y") . "<br>"; echo $dollar; // Result Example :- Wednesday 18th of August 2021 ?>