Date: 10/30/00
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7243 Updated: upload_tmp_dir does not work in safe_mode"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #6907 Updated: configuration-parser.c won't compile"
- In reply to: Sascha Mantscheff: "Re: [PHP-DEV] PHP 4.0 Bug #7518: Rounding problems with mktime()or date()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 30 Oct 2000, Sascha Mantscheff wrote:
> So what should a poor boy do to do date arithmetics? Since there are
> no functions to do calculations on Julian days in PHP, what would you
> suppose? I fear I will have to rewrite quite some code in which I
> assumed a constant day length.
Lots of calls to mktime(). You can just increment the days counter --
mktime() will wrap months and years.
-adam
-- / adam maccabee trachtenberg | it's what you think... \ \ adam <email protected> | http://www.student.com /-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7243 Updated: upload_tmp_dir does not work in safe_mode"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #6907 Updated: configuration-parser.c won't compile"
- In reply to: Sascha Mantscheff: "Re: [PHP-DEV] PHP 4.0 Bug #7518: Rounding problems with mktime()or date()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

