From: Mike Mannakee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 7:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Subtracting dates in php
Anyone know of an easy way to add or subtract dates in php the way you
can in mysql? Easier, that is, than coding the logic by hand? This
seems l
On Tue, 1 Jul 2003 01:21:54 -0400, you wrote:
>Anyone know of an easy way to add or subtract dates in php the way you can
>in mysql? Easier, that is, than coding the logic by hand? This seems like
>a total pain.
Convert to Unix timestamps, do regular maths, unconvert.
--
PHP General Mailing
Anyone know of an easy way to add or subtract dates in php the way you can
in mysql? Easier, that is, than coding the logic by hand? This seems like
a total pain.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo