SNTP Configuration
The SNTP Client relies on the following global variables for configuration data. You can modify these values before xn_rtip_init is called.
CFG_GMT_DIFFTime zone difference in hours between the local time and GMT. For example, this value could be set to -5 for US Eastern time or 1 for Central European time. The default value is 0. Most applications should leave this value at 0 and rather use RTTarget-32's Win32 Date and Time Management to handle time zones and daylight saving (summer) time, as done by demo program SNTPDemo.
SNTP Client
Function xn_sntp_get_time
|