For example, the guard in the Pokemon Mansion is guarding the Bronze Statue around the clock, but he takes a break between 2 ...
(So remember to complete them before the clock runs out ... While the quest will still vanish at a certain time - whether you've completed it or not - this doesn't happen when the event ends.