Change to silent mode when scheduled time

I want to change device(Android and iOS) to silent mode when user set scheduled time.

Is it possible??