Bug #15379 Updated: unixtojd() doesn't return the correct date.

From: Date: Thu, 18 Apr 2002 18:07:07 +0000
Subject: Bug #15379 Updated: unixtojd() doesn't return the correct date.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5325@lists.php.net to get a copy of this message
ID: 15379 Updated by: jimw@php.net Reported By: ncb999@NOSPAMhotmail.com -Status: Open +Status: Bogus Bug Type: Calendar related Operating System: WinXP PHP Version: 4.1.1 New Comment: without an example to reproduce the issue, my best guess is that you are using jdtojulian() to test, which would explain a 12-13 day difference. we're currently operating under the gregorian calendar. Previous Comments: ------------------------------------------------------------------------ [2002-02-05 01:02:50] ncb999@NOSPAMhotmail.com unixtojd() is supposed to return today's date when it is invoked without a parameter. When I tested this function on 2/4/2002, it returned 1/22/2002. My system clock was set correctly, i.e. the actual system date was 2/4/2002. I'm using PHP version 4.1.1 on WinXP. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15379&edit=1

« previous php.bugs (#5325) next »