I have a problem regarding the JavaScript date function.
var atime = new Date("07.08.2021");
var btime = new Date("19.08.2021");
var ctime = new Date("03.10.2021");
var today = new Date();
console.log(atime);
console.log(btime);
The variables "atime", "ctime" and "today" are working perfectly fine, but btime does not. It always says "Invalid Date", but why, it is completely the same as atime, or ctime?
It does not work with new Date("08/19/2021")
either?