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 do I stop a php script?
How can you associate a variable with a session?
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.
How is it possible to know the number of rows returned in result set?
How can we submit a form without using submit buttons?
What is the use of print_r function in php?
What are the disadvantages of php?
What is cms php?
How to get a total number of elements used in the array?
How can you get the size of an image in PHP?
Explain me soundex() and metaphone()?
Does php support multithreading?
Differentiate between php5 and php7?
write a prog using insert,update,delete in this manner as output? name: phno. add button 1.name phno. edit button delete button 2.
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?