You can use DatePart in your formula...

Weeknumber = datepart("w",fieldname)