Newbie Date Question
| From: | David Mitchell | Date: | Mon, 19 Nov 2001 14:52:06 +0000 |
| Subject: | Newbie Date Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75113@lists.php.net to get a copy of this message | ||
Hey Guys and Girls,
I'm selecting a datetime value from SQL Server. In the database the data
looks like:
2001-11-16 18:33:56
When I print out the results on the page I get this:
1005958764
This is how I'm displaying the data:
while(!$rs->EOF)
{
print("<tr><td><font class=smallText>" . $dtmDate->value .
"</font></td><td>
$rs->MoveNext();
}
I'm obviously missing something here....
Any suggestions would be appreciated.
Dave
<%
David Mitchell
dave@mitchellweb.com
www.IceRadio.ca
%>