Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to format converted Time from Oracle 8i (seconds) to Time XX:XXpm

Status
Not open for further replies.

KKUB

Programmer
Feb 6, 2004
14
US
I am attempting to reformat the time in an Oracle database which is currently in Seconds to a standard 12 hour clock time.I successfully convert secondes into two field with correct 24 hour clock Hrs and Min.
Example "Hrs= 6", "Min = 0"
I used StrTotaltime: Format([HRS] & [Min],"nn:nn") the desired result should be "06:00
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top