CRM On Demand - Reports and Dashboards (MOSC)

MOSC Banner

Dashboard Prompt - how to set current user hour as default?

edited Sep 30, 2013 12:25AM in CRM On Demand - Reports and Dashboards (MOSC) 3 commentsAnswered ✓
We have a report that shows 2 prompt, From and To.We use those values as presentation variable.

We need the prompt to have default values of current user hour (HH format) and current user hour + 4.(like, 9 for 09:45:23, and 12 for 12:34:00)

So far I was able to get current time-stamp using SQL (SELECT Date.Date FROM "Custom Object 1 Analysis" Where Date.Date = CURRENT_DATE) but it gives full time stamp.

What we need is to get the hour as default, for example if time is 23:55:67 we need to get 23.

Any idea how to do so?

Thanks!

Guy

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center