Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 54 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 19 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Convert number to hh24:mi:ss
Summary
Convert number to hh24:mi:ss
Content
I have a field which has seconds in number format. I have to convert it into hh24:mi:ss. For example select to_char(to_date(10000,'SSSSS'),'hh24:mi:ss') num_time from dual; gives time as 02:46:40. Now i want to do this rtf template. I tried <?xdofx:to_char(to_date(10000,'sssss'),'hh24:mi:ss')?>, but this is not working. Can anyone has idea how to convert.
Thanks,
Rakesh.
Answers
-
Its not converting. It shows the same 1000
0 -
Hi,
what means not working?
do you see an error or Comes up the wrong datetime,...?
regards Hendrik
0 -
0
-
for BI Publisher the date should be in Canonical format like ‘YYYY-MM-DD’ or ‘YYYY-MM-DDTHH:MI:SS’ format. create the column in your SQL query , so the data is already formatted per requirement.
0