Re: System time correction
VB Code:
Date$ = txtDate.Text
Time$ = txtTime.Text
'make sure you enter the correct date and time format in the textboxes.
Or just double-click your clock and set the date and time.
If you have no internet connection and the date and time alter then I would replace the CMOS battery. ;)
Re: System time correction
Keithuk,
I am aware of the fact that you can simply "set" the time. The only problem is. I can not do this 600 times a day manually. I need a program running in the background making sure that the system time will not suddenly fall back 2 hours.
But this is kind of hard without an internet connection because I can not use time servers.
So I need some kind of parallel clock that I can set at startup and from then on works independantly from the system time clock, correcting it once a minute or so.
Does anybody have idea's for this?
Chris
Re: System time correction
once you set your time eventhough cmos battery is down the time will remain until you restart your system, you dont need to change the time 600 times...this is strange that your system suddenly falls back by 2 hours...must be some virus or something else...
Re: System time correction
Double click the time in the bottom right of the screen, go to timezone tab and remove checkmark on switch automatically to summer and winter time. My guess on what you have wrong on the computer; removing the cause of the problem is more effective than patching it with a bubblegum :)
Re: System time correction
Yes, that is what I thought aswell. CMOS should only have influence at the start up. I don't think it is a virus, because the computer has had almost no external influences or programs installed.
But the program I am looking for. Does anybody have an idea for this? I was thinking of the following method:
suppose the system time does suddenly fall back one or two hours. I could write a program that could remember a system time every 5 seconds and compare them. If the time were to change drastically it could detect this by subtracting the second last time from the last time, i.e: The difference. It should ofcourse be a difference of 5 seconds.
Does such a program exist? I don't currently have the means to write such a programme because I have no MSVS6.0 with me.
Or does anybody of you know another program that could help solve my problem?
Re: System time correction
Hmmmm, I like bubble gum.
Thanks for that useful response. I have considered changing that, but I thought it should not be the cause for the problem. On the other hand... why not, everythings possible.
1 Attachment(s)
Re: System time correction
Not sure if this will work 100%.
Re: System time correction
Xenos: that's what caused me my constant time changing problems when I had Win98; I disabled it because the DST thing just didn't work correctly :)