I can think of twothree quick ways:
my $today = localtime; my ($day) = $today =~ m/^(\w{3})/;
use POSIX qw(strftime); my $dow = strftime "%a", localtime;
Update: Added third method.
In reply to Re: Finding the Day of Week in Windows
by Mr. Muskrat
in thread Finding the Day of Week in Windows
by dru145
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |