Film is typically a medium in which the rules of time are manipulated: a month can pass as quickly as the flicker of light; a year can go by in a simple crossfade between scenes. Most mainstream films tend to play with time in ways that the general moviegoing audience doesn't have to spend too much time mulling over. However, some films try to draw attention to the passage of time.
Source:https://www.cbr.com/best-movies-set-during-a-single-day/