Throw all the date related items into a method called something like getDate().