Hi sir
I am getting the current date and time from GPS module . I want to calculate the number of second between 1 Jan 2000 and current date and time. but i am getting how to do it plz help
Thanks in advance
Hi sir
I am getting the current date and time from GPS module . I want to calculate the number of second between 1 Jan 2000 and current date and time. but i am getting how to do it plz help
Thanks in advance
Surely, this is a standard problem - nothing specific to Nordic.
Can the GPS give you time in Unix form - ie, seconds since 00:00:00 UTC on 1 January 1970 - then the problem becomes trivial.
Hello,
As @Awneil mentions this is a standard problem that can be solved by subtracting your desired date from the GPS time provided by the GPS.
There are many "GPS Time calculators" available, to get the GPS time equivalent of your desired date. Searching GPS Time calculator yields multiple results.
Please do not hesitate to let me know if things should still be unclear!
Best regards,
Karl
Yes
GPS module -- sl869t3-i
Date and Time formate:
date =10:06:2020 (day/m/y)
Time in utc = 07:57:15 (h/min/sec)
Thankyou