Hi,
Currently I am trying to build a Calendar based on Date plugin. I get first day of month's index with this code = Date.GetDay(Date.ChangeDate(month_Stamp,1))
My problem is that if players set Sunday in their devices (PC/Mobile) is their first day of week then I can get first day = 0, so I can run loop from 0 - 1 - 2 - 3 - 4 -5 - 6 (Sunday to Saturday) to build the calendar.
However if players set Monday is first day of week (very comon) I will get 1 - 2 - 3 - 4 - 5 - 6 - 0 and could not run loop properly.
Is there anyway to get correct index (increasing) order (increasing) based on Calendar on players' devices?