in reply to Date calculations in Perl for Win32
If that's absolutely positively impossible, then you're stuck with something like the following:
Come to think of it, that's not so bad after all.my $day = (localtime())[7]; my $week_num = int($day/7) + 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Date calculations in Perl for Win32
by davorg (Chancellor) on Aug 30, 2000 at 13:29 UTC | |
|
RE: Re: Date calculations in Perl for Win32
by PotPieMan (Hermit) on Aug 30, 2000 at 05:11 UTC | |
by davorg (Chancellor) on Aug 30, 2000 at 13:26 UTC | |
by Jouke (Curate) on Aug 30, 2000 at 13:37 UTC |