Re: diff betn SetLocalTime() & SetSystemTime() ?



KC++ wrote:
> What is the difference between SetLocalTime() & SetSystemTime().

The time that you pass to SetSystemTime must be in UTC, while the time
passed to SetLocalTime must be in your local timezone.

-cd


.



Relevant Pages

  • Re: NTPD not keeping time
    ... CMOS/BIOS clock ... UTC, not your local timezone. ... Want to start your own business? ...
    (freebsd-questions)
  • Re: End of the Epoch
    ... UTC is 4 hours, but in January it's 5 hours. ... actual local timezone, ... DJGPP was implemented for MSDOS where no such information is available. ... whether the algorithm is buggy; it works fine in this particular ...
    (comp.lang.c)
  • Re: Using syslog(3) after chroot-ing
    ... On Jun 29, 2004, at 6:22 PM, Mikhail Teterin wrote: ... > Is there a similar trick to make it use the local timezone instead of ... > UTC? ...
    (freebsd-questions)
  • Re: Time change questions !
    ... NTP exchanges time information in UTC, but knows how to convert to ... be UTC) all of the implementations of NTP on VMS have to convert between UTC ... and the local timezone when correcting the VMS system's clock. ...
    (comp.os.vms)
  • Re: Apollo 11 times
    ... The Wiki online encyclopedia has those times listed in UTC. ... be easy to convert those times to your local time zone. ... Prev by Date: ...
    (sci.space.history)