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...

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


Please Help Members By Posting Answers For Below Questions

How do I run a php script in windows?

993


Explain the differences between get and post methods?

920


What is the interface in php?

991


what is constructor

1561


How do I run a php script?

1089


What are the delimiters in php?

928


Why is php used?

967


What is data abstraction in php?

998


Explain Booleans in PHP?

1044


Explain the difference between isset() and empty()?

896


List some features of php that are deprecated in php7?

902


What are static variables in php?

974


How is a constant defined in a PHP script?

975


Which character is used to match exactly one character?

940


What are escaping characters?

900