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
Is facebook still written in php?
Why session is required?
What is cookie?
Is wordpress a php framework?
Which operator is used to combine string values in php?
Can I use php in visual studio?
How can we determine whether a php variable is an instantiated object of a certain class?
What are the features of php 7?
What is the function mysql_pconnect() usefull for?
Explain the different types of errors in php.
How to open a file for writing?
Which function is used in php to search a particular value in an array?
What is the use of callback in php?
What is the use of final class in php?
How can you submit a form without a submit button?