Adding method to get the week number of a date

I found this method useful, what do you think?