AnsweredAssumed Answered

SNTP Time related query

Question asked by Utsavi Kalpesh Bharuchwala on Apr 26, 2015
Latest reply on May 1, 2015 by Utsavi Kalpesh Bharuchwala

Hi,

 

I am working with CodeWarrior v10.6 and MQX v4.0.

 

I am following security_email demo and getting the time from time.nis.gov.  I am getting date time properly with UDP port 37.

 

Now query is default time on MQX is from 01/01/1970 and default time of time.nis.gov is from 01/01/1900. If both have a different default Year How I am getting a proper Current time?? There should be 70 year deference as per my knowledge.

 

Can anybody tell me how SNTP working in detail?? There is only sntp_oneshot and sntp_inti function available in rtcs library. No more detail I got.  

Outcomes