Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> OCCI - Timestamp
Hi
I am trying to use OCI from Oracle XE
when using toText with precision to minutes and secunds program breaks
however when I am using only 'YYYY-MM-DD HH24' - format everything is OK
string date1;
Timestamp ts1;
ts1.fromText("2000-02-29 11:10:10", "YYYY-MM-DD HH24:MI:SS", "", env);
// date1 = ts1.toText ("YYYY-MM-DD HH24:MI:SS", 0, ""); <----
dasn't work !!!!!
date1 = ts1.toText ("YYYY-MM-DD HH24", 0, "");
I am using VC++ .NET Oracle Expressedition OCI (Oracla C interface)
thanks for help
t. Received on Fri Aug 25 2006 - 10:48:51 CDT
![]() |
![]() |