> For the complete documentation index, see [llms.txt](https://docs.ceruleansonar.com/c/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ceruleansonar.com/c/surveyor-240-16/utc-time.md).

# UTC Time

If you are running running the Surveyor while connected to SonarLink, [here is the easiest method for getting accurate time](/c/sonarview/utc-time.md).<br>

If your application does not support running SonarLink with the Surveyor, you can configure the Surveyor to use a specific NTP server for accurate UTC time. To do this, ensure you have access to an NTP server and send a [SET\_NET\_INFO](/c/surveyor-240-16/application-programming-interface/set_net_info.md) ping packet to the Surveyor.

* If the Surveyor and the NTP server are on the same subnet, you can set both `subnet_mask` and `gateway_ip` to `0`.
* If the NTP server is on a different subnet and requires routing through a gateway, you must specify the appropriate `subnet_mask` and `gateway_ip`.

In both cases, the Surveyor will automatically synchronize its time using either SonarLink or the designated NTP server, ensuring all data is accurately timestamped with UTC time.
