Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Date Picker Runtime Analytics format is not coming in profer way

Sunny
New Contributor III
New Contributor III

Hi Team,

We are creating a runtime analytics where between startdate and enddate we were fetching task details.

however I was not able to fetch the Time format in the runtime analytics configuration while previewing it.

the below query is fetching the date format however unable to give me to select the time frame as well.
SELECT updatedate as DateOfUpdate, status as Status_of, endpoint, tasktype, taskkey, userkey FROM arstasks WHERE status = '3' AND updatedate BETWEEN DATE_FORMAT('${startDate}', "%Y-%m-%d %H:%i:%s") AND DATE_FORMAT('${endDate}', "%Y-%m-%d %H:%i:%s")

Sunny_0-1726147271553.png

Can you please help me with?


4 REPLIES 4

stalluri
Valued Contributor II
Valued Contributor II

@Sunny 

SELECT
updatedate AS DateOfUpdate,
status AS Status_of,
endpoint,
tasktype,
taskkey,
userkey
FROM
arstasks
WHERE
status = '3'
AND DATE(updatedate) BETWEEN DATE(STR_TO_DATE('${startDate}', '%Y-%m-%d'))
AND DATE(STR_TO_DATE('${endDate}', '%Y-%m-%d'));


https://forums.saviynt.com/t5/identity-governance/date-format-in-analytics-report-is-throwing-error/...


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

Sunny
New Contributor III
New Contributor III

Hi @stalluri ,

I tried with the above query as well before posting in to the forum. however,It didnt work.

 

@rushikeshvartak ,

Will it come as an- enhancement in new version?

You can submit idea ticket @Sunny https://ideas.saviynt.com/ideas/new


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

rushikeshvartak
All-Star
All-Star

You can't fetch time. So update query as per date only


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.