note 19320 rejected from function.jdtounix by didou

From: Date: Thu, 31 Jul 2003 14:23:37 +0000
Subject: note 19320 rejected from function.jdtounix by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53086@lists.php.net to get a copy of this message
Note Submitter: ajl@gmx.de ---- $monat=1; $tag=1; $jahr=2002; echo "Input:".$monat."-".$tag."-".$jahr; echo "--> jdtojulian(unixtojd(mktime(tag+13". jdtojulian(unixtojd(mktime (0,0,0,$monat,$tag+13,$jahr))); echo "--> jdtojulian(unixtojd(mktime(tag". jdtojulian(unixtojd(mktime (0,0,0,$monat,$tag,$jahr))); echo "--> date(mktime(". date ("M-d-Y", (mktime (0,0,0,$monat,$tag,$jahr))); Now take a look which line returns the correct date.... You have to add 13 days - why???

« previous php.notes (#53086) next »