> I want to print just the web result with any other
> information on the page. How can i do that ?
It's in the browser, not a cgi problem.
Look for "page setup" or equivalent in your browser.
Then disable headers and footers.
- Flávio Soibelmann Glock
--
To unsubscribe, e-mail: [EMAIL PROT
> How can i get the number of the week from localtime function ?
- feed localtime with "january 04" in this year (for ISO 8601)
- find out when that week begins;
- find out the difference between today and that day;
- divide that by seven days (and add one).
Or, use a date module:
use Date::Tie
On Wed, 5 Dec 2001, Shinagare, Sandeep wrote:
> #snip2
> $vfilename="TestFile.txt";
> system ("copy c:\msg.txt c:\sandeep\$vfilename");
> #end
Use \\ instead of \
\$ means '$'
\\ means '\'
- Flávio Soibelmann Glock
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
> Can I do this using Date::Manip
Yes, I guess :)
>is there any other way
use Date::Tie;
tie %time, 'Date::Tie';
$time{epoch} = 36000;
print "$time{hour}:$time{minute}:$time{second}\n";
$time{epoch}++;
print "$time{hour}:$time{minute}:$time{second}\n";
$time{epoch}++;
print "$time{hour}:$time
# The program below does that, using RFC2445 rules,
# but they are not the weeks you expected.
# The output is:
# 20020316Z,20020317Z,20020318Z,20020319Z,20020320Z,20020321Z,20020322Z
# 20030628Z,20030629Z,20030630Z,20030701Z,20030702Z,20030703Z,20030704Z
# 20040904Z,20040905Z,20040906Z,20040907Z