I'm imaging a selectable list with some pre-sets (6,12,24,48hours) or "Other" in which case the user would get an input box asking them to enter an amount.
code:
Temporary Block -> 6 Hours
| -> 12 Hours
| -> 24 Hours
| -> 48 Hours
| -> 1 Week
| -> Other