get_time_from_ntp
Get accurate current time from a public NTP server, bypassing local clock. Specify server or timezone for customized results.
Instructions
Get the current time from a public NTP server instead of the local clock.
server accepts a short name (apple, microsoft, windows, nict, google,
cloudflare, pool) or a hostname. When omitted, time.apple.com is tried
first and time.windows.com is used as a fallback.
timezone is an IANA name for the returned time; the local timezone is
used when omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | ||
| timezone | No |