There are several options available and it all depends on 1) the number of options that can be selected at once and 2) the available space.
"One option selectable, little space available" would be a drop-down list.
"One option selectable, plenty of space available" would be radio buttons or a variation thereof with JavaScript & CSS.
"Many options selectable, little space available" would be a drop-down list with check boxes next to times akin to what most spreadsheet editors offer for filtering.
"Many options selectable, plenty of space available" would be a list of check boxes or a variation thereof with JavaScript & CSS. Alternatively, you can employ a list-box but you would need to instruct users to hold CTRL when selecting multiple items & the interaction might not be as smooth as with others.