The wDayOfWeek element of the SYSTEMTIME structure always equates 0 with Sunday, 1 with Monday, etc.
EnumCalendarInfo using %CAL_SDAYNAME1/%CAL_SABBREVDAYNAME1 could be Sunday, Monday or another day depending upon locale settings.
How can I map the %CAL_SDAYNAME1 day to the correct wDayOfWeek value? Ie. is there an API function that lets me know which day of the week corresponds to %CAL_SDAYNAME1?
EnumCalendarInfo using %CAL_SDAYNAME1/%CAL_SABBREVDAYNAME1 could be Sunday, Monday or another day depending upon locale settings.
How can I map the %CAL_SDAYNAME1 day to the correct wDayOfWeek value? Ie. is there an API function that lets me know which day of the week corresponds to %CAL_SDAYNAME1?
Comment