Can I insert this format into Oracle directly? I could not find this
format for the TO_DATE function.
How do you handle this?
I have written a couple functions to do the conversions using a
variety of methods and seem to be off because of time zones. I would
think that this is a common task and should be relativly easy.
This time_t variable comes from a windows system where the time is
actually an unsigned long that is the number of seconds from Jan. 1,
1970 00:00:00. In the middle tier I am using Pro*C/C++. Does pro C
provide a conversion for this?
Thanks,
Don
cham...@inquiregroup.com
Hth,
Sybrand Bakker, Oracle DBA
Don Chambers <dcha...@mindspring.com> schreef in berichtnieuws
ikqpgs8m3pcqp0lmr...@4ax.com...
see http://osi.oracle.com/~tkyte/Misc/CTime.html
--
Thomas Kyte tk...@us.oracle.com
Oracle Service Industries
http://osi.oracle.com/~tkyte/index.html
--
Opinions are mine and do not necessarily reflect those of Oracle Corp
Sent via Deja.com http://www.deja.com/
Before you buy.
If you run the above the second sql will convert the value returned by
the first sql back to the current date/time so it looks like it works,
but I am not a date/time expert.
--
Mark D. Powell -- The only advice that counts is the advice that
you follow so follow your own advice --