I've looked though the DateTime and DateUtils trying to find a way to calculate weather or not week X is a odd or even week (starting with the week Wednesday 1/1/2014 being odd, then Sunday 5/1/2014 being the start of a even week)...
I've thought about going on the lines of
but there is no GetWeekofYear function, and using a series of functions alone that line to get that number seems prone to bugs... and as for playing with the Ticks, I been kinda daunted form playing with them as there's a lot of 'how to use', but can't really find, 'this is what a tick is'.
Thanks
I've thought about going on the lines of
B4X:
If DateTime.GetWeekofYear Mod 2 = 0 Then
Week = Even
Else
Week = Odd
End If
Thanks