My first post here and ive been looking for a solution everywhere but gonna give it a go and ask instead because im out of ideas.
So i have this string that i get from an Mainframe API (1100000110000011000001100000110) which represents the days of a month, in this case AUG 2020. The 1´s represents Saturdays, Sundays and other holidays if there are any. 0´s are working day.
What i need to do is to check if current date (today) is equal to 1 or 0 corresponding to this string.
So for example if i where to check if day 31 of this month is a 0 or a 1.
Hope you understand.