Home
Articles
Questions
Free courses
America Zip Code
About
Contact us
Qandeel Academy
| Viewed 158 times
| 1 year ago
How I can get the current year in PHP
PHP
1
Answer
Mohammad Qandeel
Answered
1 year ago
22
you can use
date function
to get the current year
<?php echo date("Y"); ?>
Facebook
Twitter
answer Link
Related Questions
How to reverse an array in php
php add to array
php add array to array
how to create function in php
Login
or
SignUp
to add new answer
×
Answer
Submit Answer