Re: [PHP] date to string

2007-02-02 Thread Richard Lynch
On Thu, February 1, 2007 6:30 pm, John Taylor-Johnston wrote: > How do I take "2007-02-01" and turn it into Thursday, February 1, > 2006? > Simple question, except I don't know the answer :) > This is all I see for now: > http://ca.php.net/manual/en/function.px-date2string.php list($year, $month,

Re: [PHP] date to string

2007-02-01 Thread Chris
John Taylor-Johnston wrote: Chris wrote: John Taylor-Johnston wrote: How do I take "2007-02-01" and turn it into Thursday, February 1, 2006? Use strtotime (http://php.net/strtotime) to turn it into a timestamp and then format it using date (http://php.net/date). echo date("l, F j, Y", st

Re: [PHP] date to string

2007-02-01 Thread John Taylor-Johnston
Chris wrote: John Taylor-Johnston wrote: How do I take "2007-02-01" and turn it into Thursday, February 1, 2006? Use strtotime (http://php.net/strtotime) to turn it into a timestamp and then format it using date (http://php.net/date). echo date("l, F j, Y", strtotime("2007-02-01")); That'

Re: [PHP] date to string

2007-02-01 Thread Chris
John Taylor-Johnston wrote: How do I take "2007-02-01" and turn it into Thursday, February 1, 2006? Use strtotime (http://php.net/strtotime) to turn it into a timestamp and then format it using date (http://php.net/date). -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Gen

[PHP] date to string

2007-02-01 Thread John Taylor-Johnston
How do I take "2007-02-01" and turn it into Thursday, February 1, 2006? Simple question, except I don't know the answer :) This is all I see for now: http://ca.php.net/manual/en/function.px-date2string.php John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

RE: [PHP] Date to string (with mask)

2003-11-08 Thread Filip de Waard
On Sat, 2003-11-08 at 15:21, Christian Ista wrote: > > > a string like that : 2003-11-07 and I'd like display 07/11/2003 I usually do: Regards, Filip de Waard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Date to string (with mask)

2003-11-08 Thread Filip de Waard
On Sat, 2003-11-08 at 11:45, Christian Ista wrote: > Hello, > > I have in a database a date field (this format yyy/mm/dd). I'd like when I > display the value use an another format dd/mm/ (format in europ), could > you tell me if there is a format DateString function ? > > Thanks, > > Christ

[PHP] Date to string (with mask)

2003-11-08 Thread Christian Ista
Hello, I have in a database a date field (this format yyy/mm/dd). I'd like when I display the value use an another format dd/mm/ (format in europ), could you tell me if there is a format DateString function ? Thanks, Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscri