add set/getDate in WaypointController