note 22477 deleted from function.jddayofweek by zak

From: Date: Thu, 03 Oct 2002 22:11:33 +0000
Subject: note 22477 deleted from function.jddayofweek by zak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-37638@lists.php.net to get a copy of this message
jddayofweek() is giving me the day previous to today's day. I'm using juliantojd() with the date and then using that number in jddayofweek() which then gives me the wrong day. Here is what my code looks like: $julianday = juliantojd(06,19,2002); $day = jddayofweek($julianday, 1); echo $day; Here is what I get: Tuesday This has happened with every day I've put in so far. At least it is consistent. Has anyone seen this before?

« previous php.notes (#37638) next »