Highlighted
Absent Member.
Absent Member.
505 views

system date in query builder

Jump to solution

Dear all,

I need help to write a query to return all the open interactions from today. I did this but everiday I to go query builder and change the date to reflect to the present day.

here is my query

(open~="Closed") and ( open.time>='12-09-2016 00:00:00' and open.time<='12-09-2016 21:00:00')

 

How can I replace these open.time with the present date. I tried these sysdate, sys.date, (open~="Closed") and ( open.time>=tod() and open.time<=tod()) but nothing is working. My datasource are Interaction - incidents.

Regards,

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: system date in query builder

Jump to solution

Try this open.time>= date(tod())

View solution in original post

1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: system date in query builder

Jump to solution

Try this open.time>= date(tod())

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.