Will there be a day and night cycle in the game?

Example: there is a rest function. So can I rest until the night?