Zum Hauptinhalt springen

List Tickets Created on the Weekend

in Example Reports
Autorenliste
veröffentlicht: 22. Mai 2018|Letzte Aktualisierung: 3. Nov. 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
HilfreichNicht hilfreich
nächste SeiteLinks to all Tickets each Agent resolved Last Month
vorherige SeiteExporting User Data

Bitte loggen Sie sich ein oder melden Sie sich an, um einen Kommentar zu hinterlassen.