date library, heavily inspired by date.js , but with more options and without extending prototypes