How to find whether a year is leap year or not using php code?
Rate this page :
![]() ![]() ![]() ![]() ![]() |
[ 0 votes]
|
Use this php code to find whether a year is a leap year or not. Here, date(‘L’) is the parameter which returns 1 if it’s a leap year, 0 if it isn’t.