SE_Danny Posted June 8, 2011 Share Posted June 8, 2011 Hi guys !Ok I have a date that looks like that : "Wed, 08 Jun 2011 11:04:18 -0100"And I have the current date.How can I convert both the current time/date and the other date into numbers so I can compare them ?Like : if($currentdate<$otherdate) ...Thanks a lot ! Link to comment Share on other sites More sharing options...
ShadowMage Posted June 8, 2011 Share Posted June 8, 2011 Something similar was just discussed here.You can use the strtotime() function mentioned in the above linked topic. Link to comment Share on other sites More sharing options...
SE_Danny Posted June 8, 2011 Author Share Posted June 8, 2011 Something similar was just discussed here.You can use the strtotime() function mentioned in the above linked topic.Thanks !! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.