php get current year
// get current year using php
<?php echo date("Y"); ?>
php get current year
// get current year using php
<?php echo date("Y"); ?>
get current year php
// current year
<?php echo date("Y"); ?>
// current month
<?php echo date("m"); ?>
// current day
<?php echo date("d"); ?>
php format date
<?php
// To change the format of an existing date
$old_date_format = "20/03/1999";
$new_data_format = date("Y-m-d H:i:s", strtotime($old_date_format));
how to get the current year in php
Get the current year using PHP:
<?php
echo date("Y");
?>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us