Help for this page
Select Code to Download
Select
or
download this
my $nbdays = ($diff_to_doomsdates + $year_anchor_day + 2) % 7; # or -5