A wrapper for JavaScript Date object