I am receiving json data in my javascript as a list of strings that contain date and time of certain events.
I construct an array and store these in the array.
However the storage is in the format of dd/mm/yyyy hh:mm:ss. I was wondering if there is a way to just extract the date part of this string from the array.
// run a loop to parse thru all elements in the array. //
t = (Service_date_from[count]); // 't' is what contains the date time once extracted from the array with a counter variable called `count`
Is there any kind of date formating functionality in javascript?