how do you
set the hours that text can not be received
It depends on the phone you have... look for Quiet time, Do Not Disturb, Interruptions.... if you tell us what specific phone you have, perhaps someone with the same phone can give you more specific directions.