Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 01 DEC 2010 10:25:22PM Steve Epstein wrote:

Is there any way from OI to programmatically set the time/date on a computer?


At 02 DEC 2010 08:34AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

At 02 DEC 2010 08:44AM Jared Bratu wrote:

Why set the time/date? If you're trying to change the time to adjust for time zones I'd recommend not setting the time/date but rather changing the time zone.

Unless your application is a computer management tool I think you would only have trouble. Date/Time calculations should be done using existing libraries provided by the operating system. Doing clock manipulation can lead into trouble when you consider daylight savings time, leap years, and time zones.

Most windows networks with an active directory domain controller have a synced time to keep the domain consistent.

Setting the time may also require process escalation and local administrator rights on the workstation.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/b8144bd7d4513413852577ed0012cd9a.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1