Try this instead:
perl -we "print +(localtime)[6];" [download]
In reply to Re: Can you explain the difference with print? by tybalt89 in thread Can you explain the difference with print? by Bod