Use the folllowing function to change the date in the desired format
  
//function to convert the date from 2005-07-19 to 19-7-2005
function Vdate( $date )
{
$dateArray = explode( "-", $date );

$rest = substr ($dateArray[0], 2); 

$newDate = $dateArray[2]."-".$dateArray[1]."-".$rest;

return $newDate;
}

 just reterieve the date from your table in a variable and pass it to this 
function

example

$rdate=$row["r_date"]; 

echo Vdate($rdate);

BINGO ! You have the formated date 

Cheers

Amit
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On 7/20/05, Marc Henri <[EMAIL PROTECTED]> wrote:
 
> when on the screen for the user
> 



--


[Non-text portions of this message have been removed]



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to