Apr 27, 2006 #1 benrob82 Programmer Jul 28, 2005 116 GB Hi does anyone know how to get the result 6 months from today? thanks
Apr 27, 2006 #2 sleipnir214 Programmer May 6, 2002 15,350 US In what context? PHP calculation? Selecting records from a database? If the former, something like: print date('Y-m-d H:i', strtotime ('+6 months')); will work. If the latter, it will matter as to the database system you're using. Want the best answers? Ask the best questions! TANSTAAFL! Upvote 0 Downvote
In what context? PHP calculation? Selecting records from a database? If the former, something like: print date('Y-m-d H:i', strtotime ('+6 months')); will work. If the latter, it will matter as to the database system you're using. Want the best answers? Ask the best questions! TANSTAAFL!