Time Event.

  • Thread starter Thread starter Anton
  • Start date Start date
A

Anton

Hi all,
Just wondering if there is an event that occurs when the
operating system changes from normal time to daylight
savings time that is easily catchable?
If there is any info that people can give me on this then
that would be great.

Thanks.

Anton
 
Hi Anton,

I don't know if there is any documented message event generated when this happen, but you have WM_TIMECHANGE:

Also:
- You can read date when this will happen and time offset that should be applied.
- If you want to make a workaround for daylight saving problem with EWF then there are two approaches described in this NG.

Please let us know what you want to do.

Best regards,
Slobodan
 
Hi Slobodan,

What we want to do is receive a message, event, or
something from the operating system that says that
daylight savings has been applied so that we can make
modifications on our network. The other units on the
network are not running an operating system, they are
lighting control units that have specific schedules
according to the time. Our program will then do a
broadcast over the network to update the time on all of
the units.
I'm not really sure which is the best option to take.

Thanks.

Anton.
-----Original Message-----
Hi Anton,

I don't know if there is any documented message event
generated when this happen, but you have WM_TIMECHANGE:
Also:
- You can read date when this will happen and time offset that should be applied.
- If you want to make a workaround for daylight saving
problem with EWF then there are two approaches described
in this NG.
Please let us know what you want to do.

Best regards,
Slobodan

"Anton" <[email protected]> wrote in
message news:[email protected]...
 
Hi Anton,

But then you should send any time change (like time change made by user), not just day-light change, right?
Try using WM_TIMECHAGE notification message.

Best regards,
Slobodan
 
Thanks Slobodan,
You are absolutely correct.
Which libraries do I need to include to make use of this
function call?
Thanks again for your help.

Anton
-----Original Message-----
Hi Anton,

But then you should send any time change (like time
change made by user), not just day-light change, right?
 
Back
Top