|
Posted by Jim Plush on 03/19/05 01:14
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
virtualsoftware@gmail.com 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.
> Please somebody tell me how can i do that.
> I know is is very stupid from me that i've stored the date when a user register using the time() function.
>
> Thank you very very much in advance for your help
[Back to original message]
|