Around the time when the first homo sapiens appeared.
Math was not invented by a single person. Different people discovered or invented different areas of mathematics.
Newton "invented" "applied mathematics" and calculus.
It is important that someone invented a system of studying mathematics. Whether it was the Babylonians is not important - except perhaps to them.
J.J sylvester
5000 years ago no one knows since mathematics was invented by different cultures at any time. Mathematics is something that was developed and improved since start of mankind as cooking, clothing, numbers, languages, etc. Mathematics and mathematical evolutions are usually combined with different civilizations as Ancient Egyptian, Chinese, Greek, Islamic, and Western civilizations. Math wasn't invented, it was there before people were. People discovered math probably as cavemen, but are still studying it today. Math probably started being used around the time of the Babylonian Empire. it has always been
Around about the time the pencil crayon was invented
around the time the egg was
Around the time of the Assyrians.
The ancient Egyptians.
Bharati Krishna Tirthaji
Mathematics became very analytical around the time of Riemann (1826-1866). The mathematics that followed from this is known as modern mathematics. Applied mathematicians may consider more recent mathematics in the second half of the 1900's to be modern mathematics, when computers, economics, and finance (etc) all became huge fields in mathematics.
It started around the time of the caveman which was over 30,000 years ago