troubleshooting Question

Progress/Open Edge database. Getting date and time from a field that is all seconds.

Avatar of tambrosi
tambrosi asked on
Databases* Progress
13 Comments1 Solution171 ViewsLast Modified:
I am new to Progress/Open Edge database.  I need to get the date and time from field that is defined as seconds.  

Field Value=  :   start-time =   917872604  
start date returns the correct date   2019-02-01
but I need to get the time  from that field..     it should equal 12:36:44    when I run it thru a converter program on the web.  

SELECT   to_date('19900101','yyyymmdd') + "start-time"/86400 as startDate,
         "start-time"
FROM     PUB."sfeventcds"

Any help would be appreciated.

Thanks
ASKER CERTIFIED SOLUTION
James0628

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros