try something like
echo date("Y, m, d, g, i, s", $timevalue);
thats based on your example or you can do
echo date("m/d/Y g:i s", $timevalue);
which would show something like
05/19/2005 5:45 23
Jim's PHP Weblog
www.litfuel.net/plush
[EMAIL PROTECTED] wrote:
Hi,
I have a database where i store the us
[EMAIL PROTECTED] wrote:
> Hi,
>
> I have a database where i store the username and date when he registered.
> The time when he registered is using the time() function.
>
> I want to display the date he registered in this format: year, month, day,
> hour, minute, second.
http://php.net/manual/en
2 matches
Mail list logo