This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
The format IxxDHMS is now available in DEFINE and COMPUTE fields. Please see the detailed documentation in the 2.3.0 New Features Guide under "Duration of Time" at http://ibm.biz/db2wq-newfeats.
Let me know if you need more information.
My post from 20 Jun 2017 contains examples (see below)
or ask GregTBF (see his post from 13 Apr 2017) - he understand our needs.
IBM will use this request as input to planning but no commitment is made or implied. This request will be updated in the future if IBM implements it. IBM will use votes and comments from others in the community to help prioritize this request.
Summing up the number of seconds and converting the total seconds to hh:mm:ss is understandable.
Outstanding questions:
??
Hi, anything new about this request?
no feedback since 18 months.
Hi,
I'll try to answer your questions.
Summing up the number of seconds and converting the total seconds to hh:mm:ss is understandable?
Why understandable ? But this was only an idea.
e.g. your daily working hours. make a report of your daily working hours by month. make a sum of your working hours to get the monthly working hours in the summary line.
the idea was to convert the hours and minutes to seconds (in background) sum it up and convert the summary line to the choosen format.
1. e.g. add 14:25:33 and 18:22:37 you should get 32:48:10 (depending of the choosen format it could also be 1d 8:48:10)
2. I only expect that the examples above will work. But I agree with greg, the best solution would be a new data type "duration"
regards
Thank you for the request. I have read the forum entries but would like to get more details on the expected output.
Summing up the number of seconds and converting the total seconds to hh:mm:ss is understandable. But a couple questions:
1. What happens when the total exceeds 24 hours? An error?
2. For such a function, what input would you expect it to take? Just an integer (seconds)? Two timestamps (start/stop)?
At a minimum - create a function that converts seconds or minutes to hhhh:mm:ss
This is a relatively common requirement. To do this right, you would almost need to create a "duration" data type.