write code to find the date difference b/w two given date
using PHP not MYSQL function?
Answer Posted / rajan
$a= gregoriantojd(1,30,2009);
$b= gregoriantojd(1,5,2009);
echo $a-$b;
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what is the problem?
Explain briefly about a search-friendly site looks like?
What is php and why it is used?
What is the difference between public, protected and private?
What is the actually used php version?
what is benefit of magento?
Explain about looping in PHP?
How to get ip address of a server in php?
Write a program in php to print a table of a number?
How to Retrieve the Session ID of the Current Session?
What is static method php?
What is preg_match?
Is echo a function in php?
What is string in php?