?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: date format
Author:??(---.ym.rnc.net.cable.rogers.com)
Date:???10-21-03 10:41

try this to test:


$mydate=$row_Recordset2['date'];

echo date ("l, F j, Y", $mydate);


?>

The Dec 31, 1969 value indicate a null value in the field from the db or a value that can not be read.

Depending on the value that you stored in the db you may want to look into some of the other date functions to convert the value...

hth

?Topics Author? Date
?date format??new
TheJuan 10-14-03 19:45?
?Re: date format??new
bastien 10-15-03 06:56?
?Re: date format??new
Frankster 10-21-03 07:45?
?Re: date format??new
bastien 10-21-03 10:41?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > try this to test: > > > $mydate=$row_Recordset2['date']; > > echo date ("l, F j, Y", $mydate); > > > ?> > > The Dec 31, 1969 value indicate a null value in the field > from the db or a value that can not be read. > > Depending on the value that you stored in the db you may want > to look into some of the other date functions to convert the > value... > > hth ">??

Provided By
Phorum