Skip to main content

List Tickets Created on the Weekend

in Example Reports
Authors list
Ippubblikat: May 22, 2018|Aġġornat: Nov 3, 2022

Requirement: create a report that lists all the titles of all tickets created on a weekend, using Eastern Standard Time.

This example uses the SQL WEEKDAY function.

Note the use of + INTERVAL 5 HOUR to adjust the time zone from UTC to EST.

SELECT tickets.subject FROM tickets WHERE WEEKDAY(tickets.date_created + INTERVAL 5 HOUR) IN (5,6)
copy
UtliMhux utli
next pageLinks to all Tickets each Agent resolved Last Month
previous pageExporting User Data

Please log in or register to submit a comment.