- Impact
- 9
Hey everyone!
This problem has been baffling me all day today.
I am trying to compare dates which are in the British format to see if they are bigger and/or smaller than todays date.
This is what I am using:
What this should do is compare and see if todays date falls between the $start and $end
Where am I going wrong?
This problem has been baffling me all day today.
I am trying to compare dates which are in the British format to see if they are bigger and/or smaller than todays date.
This is what I am using:
PHP:
if($start <= date("d/m/Y") && $end >= date("d/m/Y")){
bla;
}
What this should do is compare and see if todays date falls between the $start and $end
Where am I going wrong?