in reply to Last day of the month. Any shorter

From the command line:
perl -MDate::Manip -le 'print "Last day" if UnixDate (ParseDate ($ARGV + [0]), "%B") ne UnixDate DateCalc ($ARGV [0], "1day"), "%B"' YYYYMMDD
Abigail

Replies are listed 'Best First'.
Re: Re: Last day of the month. Any shorter
by Scarborough (Hermit) on May 19, 2004 at 13:57 UTC
    Sadly working on a windows server, weep weep.
      Yes, and? Date::Manip is written in 100% Perl.

      Abigail