Re: Re: Date Conversions?
| From: | Robert Sossomon | Date: | Mon, 15 Nov 2004 20:48:55 +0000 |
| Subject: | Re: Re: Date Conversions? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202092@lists.php.net to get a copy of this message | ||
Matthew Weier O'Phinney is quoted as saying on 11/15/2004 3:01 PM:
* Robert Sossomon <robert_sossomon@ncsu.edu>: <SNIP>
http://php.net/strtotime Specifically, try the following: // $date is the date as pulled from the MySQL table $convertedDate = date("m-d-y", strtotime($date));Here's what I wound up using, in case anyone else comes across the same dilemma: $Date = $Quote['Date']; $EDate = date("M d, Y",strtotime($Date)); -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 robert_sossomon@ncsu.edu