Add the methods to get a date in BDBasicObject