Time returned by Hasp.GetRTC() API

  • The output of getRTC() API in C is returned in number of seconds.
  • This is the time in number of seconds elapsed from January 1st 1970. This has to be converted to the actual time by using another API – HaspTimeToDateTime()
  •  However, in case of .Net API, the getRTC() API automatically returns the output in standard date format and no conversion is required.