Time seems to move according to the player's position, if you are on the beach, the clock shows 3 o'clock, but if you are in the castle it may be 12 o'clock, and if you are in the market the clock shows 9 o'clock. If you enter the castle from the beach, the castle door is closed indicates that it is already night. I don't know if that's true :)