Edit in JSFiddle
Result
JavaScript
var counter1 = new SimpleCounter('res',new Date(2010,12,3));