note 74244 deleted from function.date by philip

From: Date: Sun, 01 Apr 2007 09:42:33 +0000
Subject: note 74244 deleted from function.date by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124994@lists.php.net to get a copy of this message
Note Submitter: usPHPNet at web dot knobby dot ws ---- Maybe this is a bug or not. But it's how date works: $nextsbmbcYm=date(Ym,mktime(0, 0, 0, date("m")+1, date("d"),date ("Y"))); yields 200705 // Month after next $nextNextCalYm= date(Ym,mktime(0, 0, 0, date("m")+2, date("d"),date ("Y"))); yields 200705 That is they both give the same result. PHP Version 4.3.11 on March 31, 2007. See http://sbmbc.com/nextMonthDateTesting.php

« previous php.notes (#124994) next »