Re: Convert string to date

From: Date: Tue, 23 Mar 2004 22:26:18 +0000
Subject: Re: Convert string to date
Groups: php.windows 
Request: Send a blank email to php-windows+get-23242@lists.php.net to get a copy of this message
There are date functions that should allow you to manipulate and work with date's and their corresponding attributes. Check them out. For example, if you pass a date as a parameter to the 'mktime()' function you will get returned an integer value that represents the amount of seconds passed since 1970 (or around there). By working with these date-converted-to-integer values you can find out what date is lower or higher. Just make sure that you pass the 'mktime()' function the appropriate parameters. This may require that you break up the date into days, months, year etc. Cheers Tryst

« previous php.windows (#23242) next »