in reply to Re^8: Gettting the last Friday of every month using Time::Piece
in thread Gettting the last Friday of every month using Time::Piece
What's the difference between Time::Piece::_wday and Time::Piece::day_of_week?What's the difference between:
And:$t->_wday # 0 = Sunday
Answer: One is spelt "_wday", and the other is spelt "day_of_week". But I thought I already answered that question above (if you read carefully). But you can also tell by the source code (as a last resort):$t->day_of_week # 0 = Sunday
*day_of_week = \&_wday;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Gettting the last Friday of every month using Time::Piece
by Jim (Curate) on Jul 01, 2014 at 19:20 UTC |