Autogenerate Week number from selected Date in xlsForm collect

1. What is the issue?
I am trying to use the selected date to autogenerate the week number from the date selected. I am using xlsForm, Kindly help

Please see if this thread solves your problem: