--- valentin <[EMAIL PROTECTED]> wrote:

> Hello there. I need some help ... In one of my mysql
> database fields i have stored the data. It's format
> is Ymd, and it is printed for example: Today is
> 2005-12-01.  What should i do in order to get
> something like: Today is 01 Dec 2005 ? 

You can use the strtotime() function to do what you
want. Use something like:

<?php

$today = date('d M Y',strtotime('2005-12-01'));

echo "Today is $today";

?>

HTH
-Nick


                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: php-list@yahoogroups.com
  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