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 |
Can we override static method?
How to get a random value from a php array?
How can we determine whether a php variable is an instantiated object of a certain class?
does PHP support foreign key and Rollback?yes or not.if not then why. how will you done these concept in php?
1 Answers Avanigoradia, Primus Global,
What is the use of $_request variable?
Tell me what type of operation is needed when passing values through a form or an url?
Do csrf tokens expire?
What is meant by session in php?
Tell me how can we automatically escape incoming data?
What is pdo classes?
how long a default session stay in php?
Is php an array?