![]() |
|
The stupid question is the question not asked | |
PerlMonks |
How do I set the time and date?by faq_monk (Initiate) |
on Oct 08, 1999 at 00:29 UTC ( [id://720]=perlfaq nodetype: print w/replies, xml ) | Need Help?? |
Current Perl documentation can be found at perldoc.perl.org. Here is our local, out-dated (pre-5.6) version:
Assuming you're running under sufficient permissions, you should be able to set the system-wide date and time by running the
However, if all you want to do is change your timezone, you can probably get away with setting an environment variable:
$ENV{TZ} = "MST7MDT"; # unixish $ENV{'SYS$TIMEZONE_DIFFERENTIAL'}="-5" # vms system "trn comp.lang.perl.misc";
|
|