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 is escape data in php?
What are sql injections, how do you prevent them and what are the best practices?
What does the unlink() function means?
What is mysql_fetch_object?
What is beforeRender() used?
Tell me is it possible to remove the html tags from data?
What are getters and setters php?
What is the difference between associative array and indexed array?
Define metaphone()?
How can you tell if a number is even or odd without using any condition or loop?
What is the use of imagetypes() method?
What is php artisan tinker?
Can we run php on tomcat server?
What is get and post method in php?
What is the maximum size of a database in mysql?