Add day and hour periods to query
Handling days and hours - avail module