DateTime::Util::DayOfWeek - DateTime Day of Week Utilities
use DateTime; use DateTime::Util::DayOfWeek; my $dt = DateTime->today; print "today is sunday\n" if $dt->is_sunday; # This is equivalent to: print "today is sunday\n" if $dt->is_sunday;
DateTime::Util::DayOfWeek is day of week utilities for DateTime.This module extends is_(sunday|mondy|tuesday|wednesday|thursday|friday) methods to DateTime object.
judgement the day of week.
MATSUNO Tokuhiro <tokuhiro at mobilefactory.jp>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Tatsuhiko Miyagawa, and #catalyst-ja members.
DateTime
Copyright (C) Tokuhiro Matsuno
To install DateTime::Util::DayOfWeek, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::Util::DayOfWeek
CPAN shell
perl -MCPAN -e shell install DateTime::Util::DayOfWeek
For more information on module installation, please visit the detailed CPAN module installation guide.