Jump to content

date format


fareedreg

Recommended Posts

In which format by  default php accept date...  I m comparing issue and  return date but not getting exact conditon. I m using dd/mm/yyyy format.

 

if($retdate<=$issto)

{

 

    $_GET['txtreturn']="";

   

    $_GET['txtreturn']=0;

   

    echo ($_GET['return']);

   

 

}

 

if my $retdate(04/02/2010) is greater then  $issdate(30/01/2010)  then also its enter into the condition WHY

Link to comment
https://forums.phpfreaks.com/topic/188632-date-format/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.