HI, All
Any help with piece of code to calculate normally the current week day starting the monday ?
AHLocale lib can give FirstDayOfWeek where the monday is 2.
How to calculate these all to Sunday =7 and Monday =1 ?
Any help with piece of code to calculate normally the current week day starting the monday ?
B4X:
DateTime.GetDayOfWeek(DateTime.Now) 'returns 1 for the Sunday, but need to calculate it as 7
AHLocale lib can give FirstDayOfWeek where the monday is 2.
How to calculate these all to Sunday =7 and Monday =1 ?