Time period variables

I am working on an IIoT project to show production data of a factory using Grafana, the factory works 3 shifts a day. Is it possible to create variable for time period for each shift? For example:
(Shift 1: 6 A.M - 14 P.M), (Shift 2: 14 P.M - 22 P.M), (Shift 3: 22 P.M - 6 P.M)