cei has asked for the wisdom of the Perl Monks concerning the following question:
That's what I'd LIKE to do.
But I'm writing for a client who has a stock build of ActiveState on an NT server, so I can't do a system call (unless there's a nice DOS equivalent of date that can give me week number and not just "August 29, 2000"). Likewise, it doesn't look like Date::Calc is part of the standard install for ActiveState perl, and even if it were, it would want a system_clock() call of some sort which may or may not be interpreted correctly by NT. (I haven't gotten that far, since Date::Calc wasn't installed anyway...)
So how would YOU approach my particular problem?
Help much appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Date calculations in Perl for Win32
by wardk (Deacon) on Aug 30, 2000 at 04:58 UTC | |
by extremely (Priest) on Aug 30, 2000 at 14:13 UTC | |
|
Re: Date calculations in Perl for Win32
by chromatic (Archbishop) on Aug 30, 2000 at 04:58 UTC | |
by davorg (Chancellor) on Aug 30, 2000 at 13:29 UTC | |
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 | |
|
time and localtime should do it...
by ArthurDent (Acolyte) on Aug 30, 2000 at 21:30 UTC |