A Flexible Countdown Timer

Would this work correctly for weeks.
Seems to be ok when I test.

var timeComponents = {
	"weeks" : Math.floor((deltaTimeInterval / (1000 * 60 * 60 * 24))/7),
		"days" : Math.floor((deltaTimeInterval / (1000 * 60 * 60 * 24) - (Math.floor((deltaTimeInterval / (1000 * 60 * 60 * 24))/7)) *7 ) ),
		"hours" :  Math.floor((deltaTimeInterval % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)),
		"minutes" : Math.floor((deltaTimeInterval % (1000 * 60 * 60)) / (1000 * 60)),
		"seconds" : Math.floor((deltaTimeInterval % (1000 * 60)) / 1000),
	};

Added a element with the class names countdown_weeks countdown_format_1