Datetime confusion

Sep 23, 2009 at 11:17 AM
Edited Sep 23, 2009 at 11:18 AM

How do i get the correct local datetime in gps. Is it a combination from SatTime and SatDate?

I want to set the loacl time of a pocket pc with this function:

private void CheckTimeSet(DateTime dateTime)
{
if (DateTime.Now < dateTime.AddSeconds(-timeDiff) || DateTime.Now > dateTime.AddSeconds(timeDiff))
{
OpenNETCF.WindowsCE.DateTimeHelper.LocalTime = dateTime;
}
}