Hello Jason, Friday, March 5, 2004, 12:27:46 PM, you wrote:
JW> I get the correct output (ie Sun Mar 28 2004). But quoting your previous post, JW> how did you get: "Sat Mar 27 2004 for me, which is exactly what it should"? Because I over-looked that part :) but more importantly, upon reflection, it has still done what I would have expected because it's a BST date and PHP hasn't been told about it, so it's left to its own devices. "If it's unknown, PHP tries to figure it out itself. This can cause unexpected (but not incorrect) results." echo date("D M d Y", gmmktime(0, 0, 0, 3, 28, 2004, 1)); Will give me Sun Mar 28 2004, because its a GMT date falling into BST. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php