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 cryptographic extension provide generation and verification of digital signatures?
Explain about the connective abilities of the PHP?
I am writing an application in php that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with php?
How to execute a php script from the command line?
What is difference between required and require_once in php?
What are the advantages of indexes?
What is the purpose of constant() function?
How to enable cURL in PHP?
List some array functions in php?
Explain about PHP cookies?
What are the correct and the most two common way to start and finish a PHP block of code?
just explain MYSql ISAM and InnoDB functions. and what is the diffrent between both. and which is the better in both.