Use Perl to Fix DST on Windows Computer

E

EdwardATeller

Before I bust my head against a wall, do you think it's possible to
use Perl to update the time in my Windows computer? My OS cannot be
patched.

Ideally, I would write a Perl script that gets GMT from the internet,
adds the proper offset according to my time zone and DST status, and
then updates the time in my Windows system.
 
P

Peter J. Holzer

Before I bust my head against a wall, do you think it's possible to
use Perl to update the time in my Windows computer? My OS cannot be
patched.

Ideally, I would write a Perl script that gets GMT from the internet,
adds the proper offset according to my time zone and DST status, and
then updates the time in my Windows system.

That would certainly be a possibility. I doubt it's necessary, though. I
remember that even in Windows95 the start and end of DST were a simply
registry setting. No need to patch the OS - just put the right values
into the registry.

hp
 
J

Jürgen Exner

EdwardATeller said:
Before I bust my head against a wall, do you think it's possible to
use Perl to update the time in my Windows computer?

I don't see any reason why you couldn't just call the "date" command.
However, -although not a Perl issue- I would suggest to simply update your
system. The proper updates for the new DST in the USA have been available
for quite some time.
My OS cannot be
patched.

Then maybe you should look into fixing this problem? After all, you are
missing many, many other updates, too, which are more important than this
stupid DST change update.

jue
 
J

jason.mangiafico

quoting:
Before I bust my head against a wall, do you think it's possible to
use Perl to update the time in my Windows computer? My OS cannot be
patched.

Ideally, I would write a Perl script that gets GMT from the internet,
adds the proper offset according to my time zone andDSTstatus, and
then updates the time in my Windows system.


What Windows version? Most can be patched via the registry, and there
are several unofficial patches available that automate the process.
The ones on intelliadmin.com are very good, and I've used them on my
windows 2000 and 98 systems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top