SNTPGetUTCSeconds Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SNTPGetUTCSeconds Function
C
DWORD SNTPGetUTCSeconds();
Description

This function obtains the current time as reported by the SNTP module. Use this value for absolute time stamping. The value returned is (by default) the number of seconds since 01-Jan-1970 00:00:00.

Preconditions

None

Returns

The number of seconds since the Epoch. (Default 01-Jan-1970 00:00:00)

Remarks

Do not use this function for time difference measurements. The Tick module is more appropriate for those requirements.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.