I get date from API like that 6-21-2021
and how can I grab day from this?
I have created array of week days
let days: string[] = [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
];
and is there any solution to get day?