How to get current device time?
-
I am using the following service to sync the time
DateTime tmptime = new DateTime();
LD.sendBroadcast(RemotePort,network,new TimeSynchronizationRequest(tmptime));The problem I'm having is that I can't actually verify it happened. Is there a way of actually getting the current time from a device?
-
For a device object, you can read the Local_Date and Local_Time properties.
-
@joolz said in How to get current device time?:
For a device object, you can read the Local_Date and Local_Time properties.
Is there some kind of LocalDevice/ RemoteDevice method do this ? It is no easy to find.