IPWorks 2020 JavaScript Edition

Questions / Feedback?

GetTime Method

Sends a time request to the TimeServer to get the current time.

Syntax

async netclock.getTime(): Promise<void>

Remarks

This method sends a time request to the TimeServer on port 37. The reply is provided in the ServerTime property, and the equivalent local time is provided in the LocalTime property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 JavaScript Edition - Version 20.0 [Build 8292]