cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Minutes

Former Member
0 Kudos
95

Hi

How can i add minutes to a date time stamp objects in desktop intelligence report.Have a solution in universe level

Select sysdate, sysdate + interval '5' minute from dual;

but is this possible in report level.

adds minutes for ex when the number of minutes exceeds 59 it adds 1 hour if the number of hours exceeds 23 it should add a day if the number of days exceeds to 30 or 31 it should add a month .

I have tried the same using the Substr() function which adds the minutes but when the number of minutes exceeds 59 it adds an hour if the number of hours exceed 23 from there the formula fails.

Thanks in Advance

Rohit

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rohit,

When working with the hour, minutes, seconds date parts, then I would suggest you try to do this at universe level making use of database functions.

If you want to handle this at report level, then you need to roll up the time from minutes, hours, days, months, years and this gets quite messy.

As mentioned, at universe level the soltion is a lot cleaner and re-usable.

Hope this helps

Jacques