'g' is 12-hour format, 'H' is 24 hour (with leading 0)
date("Y-m-d H:i:s",$date);
"Sebastian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> $date = date("Y-m-d g:i:s", $date);
> echo $date;
>
> cheers,
> - Sebastian
>
> -Original Message-
> From: Tim Haskins [mailto:[EMA
Louwtjie-
In a word: "Speed".
Lets say that you have a PHP page generating semi-dynamic content (only
changes significantly once a day). The dynamic generation process is always
guaranteed to be up-to-the-minute, but it takes some amount of time to
generate (search through the database, form
2 matches
Mail list logo