<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Calculating the number of seconds between two dates and time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62564/calculating-the-number-of-seconds-between-two-dates-and-time</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jun 2020 09:23:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62564/calculating-the-number-of-seconds-between-two-dates-and-time" /><item><title>RE: Calculating the number of seconds between two dates and time</title><link>https://devzone.nordicsemi.com/thread/254934?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 09:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1fe98f6-b357-4f16-8f0c-325125b06e8e</guid><dc:creator>Saagar</dc:creator><description>&lt;p&gt;Yes&lt;/p&gt;
&lt;p&gt;GPS module -- sl869t3-i&lt;/p&gt;
&lt;p&gt;Date and Time formate:&lt;/p&gt;
&lt;p&gt;date =10:06:2020&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(day/m/y)&lt;/p&gt;
&lt;p&gt;Time in utc = 07:57:15 (h/min/sec)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thankyou&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating the number of seconds between two dates and time</title><link>https://devzone.nordicsemi.com/thread/254924?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 09:10:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90fa8728-b87b-472b-90b4-f5a3c227feb4</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;There are many &amp;quot;GPS Time calculators&amp;quot; available, to get the GPS time equivalent of your desired date. Searching GPS Time calculator yields multiple results.&lt;br /&gt;&lt;br /&gt;Please do not hesitate to let me know if things should still be unclear!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculating the number of seconds between two dates and time</title><link>https://devzone.nordicsemi.com/thread/254857?ContentTypeID=1</link><pubDate>Sun, 14 Jun 2020 20:08:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6c45145-1118-45a2-89fe-6502bdd1f989</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Surely, this is a standard problem - nothing specific to Nordic.&lt;/p&gt;
&lt;p&gt;Can the GPS give you time in Unix form - ie, seconds since&amp;nbsp;&lt;span&gt;00:00:00&amp;nbsp;&lt;/span&gt;&lt;a title="Coordinated Universal Time" href="https://en.wikipedia.org/wiki/Coordinated_Universal_Time"&gt;UTC&lt;/a&gt;&lt;span&gt;&amp;nbsp;on 1 January 1970 - then the problem becomes trivial.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>