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 distinguishes php from something like client side java script?
How is a constant defined in a PHP script?
What is multidimensional array in php?
Explain PHP?
What is the super method?
How to take a substring from a given string in php?
Which is variable cost?
What is env in laravel?
How do I check environment variables?
Is gender a dependent variable?
Explain the advantages of using PHP?
How many types of php are there?
What is the empty function?
What is string in php?
What is polymorphism with example in php?