Re: Date functions

From: Date: Mon, 01 Jul 2002 08:24:43 +0000
Subject: Re: Date functions
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20230@lists.php.net to get a copy of this message
On Mon, 1 Jul 2002, Achilleas Maroulis wrote: > Hi. > I want to know what is the right way to make some comparisons with date variables. > I have used only the date() function to get a variable in this format=> 01-07-2002 > Is there a way to add 20 days in order to have 21-07-2002 or 2 months to have 01-09-2002? Hi! Try to read PHP documentation: http://www.php.net/manual/en/function.mktime.php Regards Urosh

« previous php.db (#20230) next »