Function DescriptionThis is a RTOS specific function that the user provides, if needed. It is called from some Treck protocols (e.g. HTTP and SMTP) when there is a need to send the current time and date to a peer.
The current time is derived from the sum of the two values, days + seconds elapsed since the Unix epoch. The seconds value should be sufficient, in which case days can be set to zero. However, you have the flexibility to specify any combination of days + seconds that sums to the current time.
- A pointer to store the number of days elapsed since midnight (00:00:00), January 1, 1970, Coordinated Universal Time (UTC). You may specify 0 for *daysPtr if *secondsPtr accounts for the full elapsed time.
- A pointer to store number of seconds elapsed since midnight (00:00:00), January 1, 1970, Coordinated Universal Time (UTC).
- Failed to obtain the system time.