mvosoughi Posted June 27, 2006 Share Posted June 27, 2006 I need to compare dates. But this way:I get a date from database. (yyyy-mm-dd format)I need to understand if this date is newer then "6 months" or not.What I need is get the current date,calculate the date 6 months ago,compare "the date from DB" & "the date 6 months ago from now"show the result.How will I do that please? Link to comment https://forums.phpfreaks.com/topic/13058-urgent-date-question/ Share on other sites More sharing options...
dptr1988 Posted June 28, 2006 Share Posted June 28, 2006 The word "Urgent" in your subject line probably won't help you get help faster. Read [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=6264\" target=\"_blank\"]PHP Freaks Posting Guidelines[/a] for details. Link to comment https://forums.phpfreaks.com/topic/13058-urgent-date-question/#findComment-50263 Share on other sites More sharing options...
mvosoughi Posted June 28, 2006 Author Share Posted June 28, 2006 [!--quoteo(post=388683:date=Jun 28 2006, 01:16 AM:name=dptr1988)--][div class=\'quotetop\']QUOTE(dptr1988 @ Jun 28 2006, 01:16 AM) [snapback]388683[/snapback][/div][div class=\'quotemain\'][!--quotec--]The word "Urgent" in your subject line probably won't help you get help faster. Read [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=6264\" target=\"_blank\"]PHP Freaks Posting Guidelines[/a] for details.[/quote]dptr1988: you are right, I should have read the guidline. Thank for mentioning that. BTW: Problem is solved. Link to comment https://forums.phpfreaks.com/topic/13058-urgent-date-question/#findComment-50330 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.