HTML and PHP

The following date is retrieved with PHP:

Today’s date is 2021/04/17 and it’s a ‘Saturday’ today

The above code is displayed as <p>Today's date is<b>DATE</b>and it's a<b>DAY</b> today</p>

 
      The actual PHP, replaced by the server, goes between the bold tags
      and looks like this:
      <?php echo date('Y/m/d') ?>
      <?php echo date('l') ?>
hidden PHP
Additional PHP examples Homepage