Added slot accessor to time and date class.