in reply to Re^3: Getting Ordinal Number of a Week in a Given Date
in thread Getting Ordinal Number of a Week in a Given Date

Does Date::Calc take this into account?

Yes:

use strict; use warnings; use Date::Calc qw ( Decode_Date_EU Week_of_Year ); my @date = ( 2006, 1, 1 ); print Week_of_Year( @date );

Prints 522005, ie the 52nd week of 2005.