To find out the current year is leap year or not which
date() function we've to use.Give the syntax also
Answer Posted / palanisamy
we have to use the argument 'L' for the date function and it
will return 1 if the given year is leap year else it will
return 0
ex: date('L',$yourdate)
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What are the uses of implode() function?
What are the string function in php?
what the new feature add in php 7.2?
How do you destroy a particular or all Sessions?
Difference between get and post method.
What is user defined function in php?
What is the use of pear in php?
How can image properties be retrieved in php?
Differentiate echo vs. Print statement.
Why do we need abstract class in php?
Why do you need to filter out empty files?
Can I use php in html?
Can you extend a final defined class?
Can we use include ("xyz.php") two times in a php page "index.php"?
Are php variables global?