Need your help. I want to get the value from the date that is inside the exceptionDate but just the string part with the dates and not the [string, number] object.
Is there someway you guys have to do this.
Need it cause I have a column in my database to save a string with these dates saved with a comma separating them.
To extract just the date strings from the exceptionDates array, you can map over the array and convert each date to a string format. Here's a simple example: