Doing new Date().toString() generates this : Fri May 14 2021 10:16:12 GMT+0200 (Central European Summer Time)
But i am looking for something like : 2021-05-14 08:08:11
.
I have no clue how to get this format and hope someone could help me out here.