User Story
Create a for loop which outputs all the days of February of 2021 in words.
Expected Outcome
Monday
Tuesday
Wednesday
.
.
.
Code
for (Integer i=1; i<=28; i++){
String DayinWords =Datetime.newInstance(2021, 2, i).format('EEEE');
System.debug(DayinWords);
}
Video
Video does not exists.