Embedded TCP/IP stack: fnet_sntp_timestamp2utc

FNET

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-2018 by Andrey Butok. http://fnet.sourceforge.net