Copy Year via WordPress


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php echo date('Y'); ?>
  2.  
  3. Example:
  4.  
  5. Copy &reg; <?php echo date('Y'); ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.