created new Date class