Implemented getDate.