Answers for "add one year from a specific year php"

PHP
1

add a year php

$end = date('Y-m-d', strtotime('+5 years'));
Posted by: Guest on June-24-2020
2

php date + 1 year

$today =date('Y-m-d');
$expiryDate=date('Y-m-d H:i:s', strtotime('+1 year', strtotime($today)) );
Posted by: Guest on February-23-2022

Browse Popular Code Answers by Language