in reply to Re^2: The date last monday
in thread The date last monday

You seem to have written a rather less flexible version of POSIX::strftime :-)

use POSIX 'strftime'; sub get_CCYYMMDD { return strftime '%Y%m%d', $_[0]; }
--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^4: The date last monday
by Scarborough (Hermit) on Oct 03, 2006 at 12:00 UTC
    I have never investigated POSIX maybe its time I did. Thanks for your advice