Post [Q] How to Switch Phone ringer automatically to silent mode for couple of hours?

I'm using Samsung Galaxy S4.
I have been hearing form S3 users, When they Flip the mobile it automatically turns to silent mode, until they Flip back.
I have searched for similar option, but couldn't find the option in S4.
can some one say how to work this out???