Had they been possessing the capability to gain knowledge of everything...
Had they been possessing the capability to gain knowledge of everything, they would have known the date of its advent also! The matters of Ghaib (the unknown and unseen): Allah the Almighty says: {Verily, Allah! With Him (alone) is the knowledge of the Hour, He sends down the rain, and knows that which is in the wombs. No person knows what he will earn tomorrow, and no person knows in what land he will die.
Verily, Allah is All-Knower, All-Aware (of things.} (V.31:34) It means that Allah Alone knows the matters of the Ghaib. While no one other than Him has the knowledge of the unseen. Nobody knows as to when shall the Doomsday occur, a news so much wide-spread and well-known among the people that they are almost certain about its occurrence, what about the matters like victory and defeat, health and sickness and (others like it) similar to it. No one knows about them either.
These matters are neither well-known like the Doomsday nor are absolutely definite. Similarly, nobody knows when shall it start raining even though it has a definite season and it often rains during that season. Most of people do wish to know about it and had it been possible to know it beforehand, they would indeed have known about it.
Then how could the people possibly know about the things which neither belong to a particular season nor are they of any public interest like someone's death and his life-span, being blessed with a child or not, being wealthy or impoverished, emerging victorious or facing an ignominy of defeat etc.
No one knows as to whether a womb carries one or more than one child1, whether a fetus is a male one or a female one, complete or defective, beautiful or ugly, even though the physicians do 1 Even the contemporary medical science can determine the sex of the fetus only in case it happens to be in the last stages of its birth. narrate the reasons causing different formations and configurations, but they do not know about someone's particular case.
In such a case, how could one possibly read the internal matters of a person like thoughts, intentions and the condition of one's Faith and hypocrisy. As long as one does not know as to what he himself shall be doing tomorrow, how could he know about the circumstances of others and since a man does not even have an inkling about the place of his death, how could he have a fore-knowledge about the day and time of his passing away.