PHP function of the day: date()

For day 14 of 21 in the “PHP Function of the day” series, I’m going to look at date(). The function takes a required format and an optional timestamp and outputs a formatted date. Let’s take a look. <?php echo “This is the “.date(“d”).”th day of the month.”.”<br />”; echo “This is the “.date(“m”).”th month of the …

Continue reading "PHP function of the day: date()"