Add class to an element on clicking tab <li>

Add class to an element on clicking tab <li>

I want to add a class to an element when someone clicks on the tab <li class="today">. Then, upon someone clicking another <li> tab I want to remove the class that was added. 

I'm new to javascript but this seems like it should be relatively easy but I'm a little out of my element here.

Am I supposed to do something like this?

$(function() {

$('li .today').click(function(){
    $('#my_stuff').addClass('home');
});

});

The only thing I'm confused about is how do I remove the class once someone clicks another tab. The other tabs have other classes associated (.day, .week, .month) to them if that's what I'm suppose to use.

Any help is appreciated, Thanks!