--- Wade Smart <[EMAIL PROTECTED]> wrote:

> I have been working on some code and another programmer just pointed out that
> the Date is not moving past April 4th.
> 
> This code just now in a file all its own
> <?php print date('F n Y  g:i a') ?>
> 
> produces: April 4 2008 11:22 am
> 
> while this code
> system(date)
> 
> produces: Fri Apr 11 11:21:08 CDT 2008
> 
> Wade

In the date function a lower case "n" shows the numeric representation for the
month.  You want "d" for a 2-digit with leading zeros or "j" without leading
zeros.

James

Reply via email to