Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the uses of implode() function?

1040


What are the string function in php?

936


what the new feature add in php 7.2?

921


How do you destroy a particular or all Sessions?

957


Difference between get and post method.

961


What is user defined function in php?

931


What is the use of pear in php?

952


How can image properties be retrieved in php?

948


Differentiate echo vs. Print statement.

880


Why do we need abstract class in php?

908


Why do you need to filter out empty files?

886


Can I use php in html?

940


Can you extend a final defined class?

8936


Can we use include ("xyz.php") two times in a php page "index.php"?

981


Are php variables global?

973