Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to get the current year in php

Get the current year using PHP:
  
<?php 
	echo date("Y"); 
?>
 
PREVIOUS NEXT
Tagged: #current #year #php
ADD COMMENT
Topic
Name
9+6 =