| 
 Posted by mantrid on 10/27/07 20:28 
ok 
I found it 
 
echo date('d-m-Y', strtotime($selldatetime)) 
 
seems to work 
 
 
"mantrid" <ian.dandav@virgin.net> wrote in message 
news:4LMUi.269$ib1.161@newsfe3-win.ntli.net... 
> Hello 
> I have date and time in my mysql table in the form 
> 2007-05-03 00:00:00 
> which I have dispayed on my webpage using 
> echo $selldatetime 
> I want to know how I can display it in the form 
> 03-05-2007 
> 
> Thanks 
> 
>
 
  
Navigation:
[Reply to this message] 
 |