which function used to get the number of days between two
given dates in php
Answer / silambu_irtt
<?php
$days = (strtotime("2005-11-26") - strtotime("2005-11-20"))
/ (60 * 60 * 24);
print $days;
?>
This code print number of days between two dates
Is This Answer Correct ? | 12 Yes | 1 No |
Which is better php praogramming or cad/cam scope wise and also salaray wise?
Tell me how to create a session? How to set a value in session? How to remove data from a session?
What is PHP?
Tell me what does accessing a class via :: means?
What are php loops?
What is php session id?
hi, i am new for php I want to know where to create & how to run phpscript programme in LAMP?
What is namespaces in PHP?
What is the difference between apache and tomcat?
Which variable declarations within a class is invalid in php?
Is php 5 still supported?
Is there any function to find repeated value in an array? What is w2 standard