($wday) = (split '\s' , scalar localtime)[0]; [download]
In reply to Re: getting day of the week by sh1tn in thread getting day of the week by Anonymous Monk