Yes, and that script won't work since he wants the week number, not the number of weeks passed since Jan 1.
I looked it up and week 1 (ISO standard) is defined as the week containing the first Thursday of the year. With this info you could write a script to calculate the current week depending what day of the week Jan 1 fell on.