Kirill Bondar 5/6/2008 3:56:25 AM This formula will calculate week number according to US rules:
Mod((FirstDayOfPeriod([Date Column], Days(7), Date(2000, 12, 31)) - Date(2000, 12, 31)) / Days(7), 52)
Magic Date(2000, 12, 31) specifies first day of week - Sunday in this case.
|