enhance the simple date type