Re: Month

From: Date: Mon, 19 Feb 2007 18:43:50 +0000
Subject: Re: Month
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249037@lists.php.net to get a copy of this message
Okay, so sprintf("%02s", $m) means that the value of $m would be checked for the amount of digits returned. If less than two digits a zero would be added to the front, correct? On 2/19/07, Jay Blanchard <jblanchard@pocket.com> wrote:
[snip] If I change my date value to m instead of M, that would only affect the visual month representation that they see, and not the "selected" value that I want to input into my database though....right? [/snip] Do a combination.


« previous php.general (#249037) next »