http://qs321.pair.com?node_id=1096632


in reply to Re: week of the year
in thread week of the year

I'm going to go ahead and assume that you meant today ;)
utilitarian@busybox ~/$ perl -MTime::Piece -E 'say Time::Piece->strpti +me("080614", "%m%d%y")->week'; 32

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Replies are listed 'Best First'.
Re^3: week of the year
by Tux (Canon) on Aug 07, 2014 at 14:19 UTC

    Hm, but in my timezone, today is 140807 ;]. Of course I would never put the d between the m and the y. Ever.


    Enjoy, Have FUN! H.Merijn