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
How to set cookies in PHP?
What are the benefits of using queries?
What are the different ways to login to a remote server?
How can we connect to a mysql database from a php script?
What is chrome logger?
What is the use of pear in php?
What is the difference server side and browser side validation?
What is the difference between for and foreach?
Why did you choose this particular career path?
How to pass variables and data from php to javascript?
What is mysql_fetch_row?
What does type casting mean in php? Explain with an example?
Is a number php?
Tell me what is the difference between ereg_replace() and eregi_replace()?
How we load all classes that placed in different directory in one php file , means how to do auto load classes.