cleaned get_date_time, added get_year