iginal Message-
> > From: Noah [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, February 08, 2003 10:20 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Output mmdd formatted date || 20030131 to
> > FridayJanu
h [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 08, 2003 10:20 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Output yyyymmdd formatted date || 20030131 to
> FridayJanuary 31, 2003
>
> Right.
>
> I've switched
uot; <[EMAIL PROTECTED]>
To: "'Noah'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, February 08, 2003 3:31 PM
Subject: RE: [PHP] Output mmdd formatted date || 20030131 to
FridayJanuary 31, 2003
> > The
> The dates are stored in a MySql db.
>
> I checked out the MySql DATE_FORMAT function -- pretty cool.
>
> However, pardon my ignorance here, how can I do date comparisons?
>
> For example, if I want to retrieve records from the db where the date
is
> between say, 2003-02-01 and 2003-02-07, will
ot; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, February 08, 2003 1:31 PM
Subject: Re: [PHP] Output yyyymmdd formatted date || 20030131 to
FridayJanuary 31, 2003
> the real question here is are you "storing" your dates in a file or
database.
>
> If in a
the real question here is are you "storing" your dates in a file or database.
If in a database (say MySQL), you can use the native DATE_FORMAT function of
MySQL to pull the date out in the proper format.
Otherwise, have a look at http://www.php.net/date
Quoting CF High <[EMAIL PROTECTED]>:
> S
6 matches
Mail list logo