Embedded TCP/IP stack  4.7.0

◆ fnet_sntp_timestamp2utc()

void fnet_sntp_timestamp2utc ( const fnet_sntp_timestamp_t timestamp,
fnet_sntp_utc_t utc 
)

Converts the SNTP timestamp to the Coordinated Universal Time (UTC).

Parameters
timestampSNTP timestamp.
utcUTC time.
See also
fnet_sntp_callback_resolved_t

This function converts the SNTP timestamp to the Coordinated Universal Time (UTC). The SNTP timestamp is provided by the SNTP-client callback function.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net