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 distinguishes php from something like client side java script?

1036


How is a constant defined in a PHP script?

1035


What is multidimensional array in php?

1010


Explain PHP?

1072


What is the super method?

1012


How to take a substring from a given string in php?

908


Which is variable cost?

970


What is env in laravel?

1024


How do I check environment variables?

1005


Is gender a dependent variable?

985


Explain the advantages of using PHP?

1012


How many types of php are there?

987


What is the empty function?

983


What is string in php?

993


What is polymorphism with example in php?

956