Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get current year php

// current year
<?php echo date("Y"); ?>
// current month
<?php echo date("m"); ?>
// current day
<?php echo date("d"); ?>
 
PREVIOUS NEXT
Tagged: #current #year #php
ADD COMMENT
Topic
Name
1+9 =