JDate::__get

Magic method to access properties of the date given by class to the format method.