I've got a script that runs a query against an Oracle database and then generates a report with that information.
When I run the query, I get a date/time like 11/4/2003 2:16:52 PM in the results for the COMMENT_DT field.
I loop through the recordset with:
while (($mso,$ord_type,$action,$ccdd,$user,$comment,$cmt_dt,$rep,$req_type) = $orasth->fetchrow) {
But when I print the value of $cmt_dt all I get is 04-NOV-03
What do I have to do to pull the time with the date?
_________
Rott Paws
...It's not a bug. It's an undocumented feature!!!
When I run the query, I get a date/time like 11/4/2003 2:16:52 PM in the results for the COMMENT_DT field.
I loop through the recordset with:
while (($mso,$ord_type,$action,$ccdd,$user,$comment,$cmt_dt,$rep,$req_type) = $orasth->fetchrow) {
But when I print the value of $cmt_dt all I get is 04-NOV-03
What do I have to do to pull the time with the date?
_________
Rott Paws
...It's not a bug. It's an undocumented feature!!!