Re: seconds from midnight into a date field?

  • From: Wolfgang Breitling <breitliw@xxxxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Mon, 12 Jul 2004 06:42:14 -0700

Look harder. From the FM (SQL Reference - date format models):

SSSSS Seconds past midnight (0-86399).

Quoting ryan.gaffuri@xxxxxxxxxxx:

> I have a varchar field that I need to migrate to a date field. it is in the
> form 'seconds from midnight' and looks like this
> 0001
> 0050
> 1054
> I can't find a to_date function to translate that. do any exist? 
> 

-- 
Regards

Wolfgang Breitling
Oracle 7,8,8i,9i OCP DBA
Centrex Consulting Corporation
www.centrexcc.com

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: