RE: [PHP] Date functions
| From: | Rolle, Ted | Date: | Mon, 14 Aug 2000 17:56:56 +0000 |
| Subject: | RE: [PHP] Date functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11643@lists.php.net to get a copy of this message | ||
Yeah, months are a bitch...
That qualifies as a real question... I'm so used to (ignoring) the
others...
Are you doing MySQL? There are some date functions that may help.
http://www.mysql.net/Manual/manual.html#Date_and_time_functions
-----Original Message-----
From: AragonX [mailto:aragonx@dcs.penguinpowered.com]
Sent: Monday, August 14, 2000 10:39 AM
To: Rolle, Ted
Cc: 'php-general@lists.php.net'
Subject: RE: [PHP] Date functions
Well, yes and no. I should have been more specific. That easily solves
the day and week adds and subtracts. But I run into an issue when I need
to add and subtract months. I can work something out but I wanted to know
if there was one clean way to deal with it.
Perhaps the capability is there and I'm just missing it but I didn't see
an obvious way to do months. Like finding the last day of the month.
On Mon, 14 Aug 2000, Rolle, Ted wrote:
> I vacillate between saying, "RTFM" and leaving it at that, or (more
civilly)
> say "For a good time, go to
> http://www.php.net/manual/ref.calendar.php.
The
> JD is exactly what you're looking for.
>
> -----Original Message-----
> From: AragonX [mailto:aragonx@dcs.penguinpowered.com]
> Sent: Monday, August 14, 2000 10:09 AM
> To: php-general@lists.php.net
> Subject: [PHP] Date functions
>
>
> Help. I want to add dates together and find out the day differences
> between to dates. Is there an easy way to do that? How about adding days
> to a date? I need some advanced date functions but I didn't see anything
> in the PhP manual.
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net