Witam
Po wyborze datepicker w labelu był numer tygodnia roku.
Proszę o pomoc
Dziękuje
One way
Another using clock component
1 Like
TIMAI2
3
This is also a method for calculating the week number of the date.
Here are the results.
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/b/c/bc13ccacff1c6d272f44a8c1f873cc7c6dc31389.png)
From Week Numbers for 2022
TIMAI2
6
17 ?
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/4/1/41bed178ed265daa1a43e1730dda91b972868f3e.png)
![:wink: :wink:](https://community.appinventor.mit.edu/images/emoji/google/wink.png?v=10)
I must be in an alternate universe today ![:slight_smile: :slight_smile:](https://community.appinventor.mit.edu/images/emoji/google/slight_smile.png?v=10)
2 Likes
TIMAI2
9
My real phone reports 17.
I also get 17 on my real phone. But my Memu emulator gets 18.
Blocks used
Tested as apk on Xiaomi Mi A1 - week 18. Same result tested with companion
No, not that emulator, the Memu Play emulator.
MIT Companion, "Do It Result", Installed always 17. Xiaomi.
Anke
18
I have no idea what your problems are. ![:upside_down_face: :upside_down_face:](https://community.appinventor.mit.edu/images/emoji/google/upside_down_face.png?v=10)
I've tried it on multiple devices and Android versions. Result of course always: 17.
Then I live in a parallel universe
Will test later with other phones...
...
sometimes 17, sometimes 18. Even Google does not have a correct answer.
Result number 1:
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/8/2/829fa6e3a799aa00dcdd3489da9708d6380602b2.png)
Result number 2:
Is today week number 16, 17 or 18? I guess we'll never know...