Javascript Substriation entre os tempos

var foo: Number (integer)=dojo.date.difference(date1: Date, date2: Date?, interval: String?);
Exuberant Eel