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

How do I stop a php script?

962


How can you associate a variable with a session?

1014


can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.

3535


How is it possible to know the number of rows returned in result set?

993


How can we submit a form without using submit buttons?

954


What is the use of print_r function in php?

935


What are the disadvantages of php?

970


What is cms php?

946


How to get a total number of elements used in the array?

989


How can you get the size of an image in PHP?

992


Explain me soundex() and metaphone()?

982


Does php support multithreading?

1046


Differentiate between php5 and php7?

1074


write a prog using insert,update,delete in this manner as output? name: phno. add button 1.name phno. edit button delete button 2.

1996


Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?

1058