RE: [PHP] Subtracting dates in php

2003-07-01 Thread Boaz Yahav
Try : Difference between two dates (i.e. between today and a date in future). The program is based on php-timestamp, but in your browser you see the usual dates(i.e.: dd.mm.) http://examples.weberdev.com/get_example.php3?count=3240 Find the Difference between today's date and a future day. h

Re: [PHP] Subtracting dates in php

2003-07-01 Thread David Otton
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