in reply to Re: Getting Weekly Dates
in thread Getting Weekly Dates
which yieldsuse Date::Manip; print map UnixDate($_, "%g\n"), ParseRecur("first monday of every mont +h in 2001");
Date::Manip does everything. From the docs:Mon, 01 Jan 2001 00:00:00 -0800 Mon, 05 Feb 2001 00:00:00 -0800 Mon, 05 Mar 2001 00:00:00 -0800 Mon, 02 Apr 2001 00:00:00 -0800 Mon, 07 May 2001 00:00:00 -0800 Mon, 04 Jun 2001 00:00:00 -0800 Mon, 02 Jul 2001 00:00:00 -0800 Mon, 06 Aug 2001 00:00:00 -0800 Mon, 03 Sep 2001 00:00:00 -0800 Mon, 01 Oct 2001 00:00:00 -0800 Mon, 05 Nov 2001 00:00:00 -0800 Mon, 03 Dec 2001 00:00:00 -0800
I'm trying to build a library which can do _EVERY_ con- ceivable date/time manipulation that you'll run into in everyday life.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Getting Weekly Dates
by mothra (Hermit) on Mar 09, 2001 at 01:30 UTC | |
by merlyn (Sage) on Mar 09, 2001 at 01:43 UTC | |
by mothra (Hermit) on Mar 09, 2001 at 02:05 UTC |