{{tag>category:"OpenInsight" author:"Steve Botes" author:"Oystein Reigem"}}
[[https://www.revelation.com/the-works|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]]
==== SetTime (OpenInsight) ====
=== At 16 JUN 2000 07:15:21PM Steve Botes wrote: ===
I am having trouble figuring out how to call the windows settime function/dll. From what I can tell from the windows SDK it is done by calling shell32.dll with something called object.SetTime. Does anyone have a sample of how to do this. Regardless of all of the above all I really want to do is call the windows set time function and let the user set the time...thanks
----
=== At 19 JUN 2000 05:05AM Oystein Reigem wrote: ===
Steve,
Don't know the answer, but if you're really desperate you can use a DOS window with a TIME command:
x=Utility( "RUNWIN", "time" )
Adds a nice Stone Age touch to your app...
- Oystein -
----
=== At 19 JUN 2000 11:48AM Steve Botes wrote: ===
Thanks Oystein! Almost all of our users will be upgrading from an AREV version. They will feel more at ease this way.
----
=== At 19 JUN 2000 05:08PM Oystein Reigem wrote: ===
Steve,
I'm delighted you're happy with using [b]time[/b]. But be warned. It might not last forever. I quote:
[i]But thought's the slave of life, and life's time's fool,
And [b]time[/b] that takes survey of all the world
Must have a stop.[/i]
Btw - Shakespeare never mentioned SetTime.
- Oystein -
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=AED4734B849F3C9285256900007FBFCE|View this thread on the Works forum...]]