Of course, Red Dead Redemption 2 offers a full 24/7 cycle, but you may want to change the time of day if you want to sneak into a hostile location after dark or if you don't like to explore the world at night. On this tutorial page we have provided information on how to change the time of day by accelerating the passage of time.
In order to change the time of day you have to use the bed to go to rest. The easiest way to do this is to return to the gang camp and interact with the bed in the Arthur tent. After this activity, the game will allow you to choose the time of waking up - you can choose the morning, dusk or the middle of the day, for example. This is helpful if you want to perform subsequent actions at a specific time.
You can also change the time of day without having to return to the gang's headquarters. You can set up a camp while exploring the game world. Open the drop-down menu and select a Crafting Camp from the Items list. There is also a bed in the extended camp, in addition to the campfire.
Additional note - If you want to check the current time, you can press the lower direction on the cross of your game pad. This information will appear at the top of the screen. If there is not much time left until sunrise or sunset, it may not pay to waste time returning to the gang camp or setting up a "mobile" camp.