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,
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
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'
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
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
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
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
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
8 matches
Mail list logo