raskew
I'm not sure of the exact question or who it is addressed to.
Sohaila was looking to access the internal clock not just the Date and Time.
So I guess the real question is "How's a thing like that work?"
Shell "Control.exe Date/Time"
Shell fires up Control.exe, which is in effect Control Panel, and passes the argument "Date/Time".
Note that "Date/Time" is the caption/label for the clock in Control Panel.
These are the four that I have tested so far: -
Shell "Control.exe Mouse"
Shell "Control.exe Date/Time"
Shell "Control.exe Printers"
Shell "Control.exe Keyboard"
I don't know the syntax for any of the others but they may exist.
Chris