How to get master controller's time?
arunmohan
Posts: 31
We can use the following command to set the controller's time
SEND_COMMAND 0,"'CLOCK 04-12-05 09:45:31'"
Also there is one command to get the time from controller, "time_to_hour" and "time_to_minute".
When I tried to display the time using another variable, I'm getting some symbols.
The way did is as follows. Is it correct or can anyone suggest me another method
ClockHour=time_to_hour(Time)
ClockMinute=time_to_minute(Time)
SEND_COMMAND 0,"'CLOCK 04-12-05 09:45:31'"
Also there is one command to get the time from controller, "time_to_hour" and "time_to_minute".
When I tried to display the time using another variable, I'm getting some symbols.
The way did is as follows. Is it correct or can anyone suggest me another method
ClockHour=time_to_hour(Time)
ClockMinute=time_to_minute(Time)
0
Comments
For example:
Thanks, Joe Hebert