I have date in format "YYYY-MM-DD" 2018-08-26 and i want something like that date.getDay() => return (0-6) and using switch case loop that 0 let dayOfWeek == 'Sun' ...
Is exist some tip get String representation of day ?
I have date in format "YYYY-MM-DD" 2018-08-26 and i want something like that date.getDay() => return (0-6) and using switch case loop that 0 let dayOfWeek == 'Sun' ...
Is exist some tip get String representation of day ?