God's knows all things that are knowable, but not things that are impossible to know. It is impossible to know the future choices of being with free-will (which God has freely chosen to create), therefore His knowledge includes all past events and that of the present, but none in the future save what He plans to do.