<?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>Get a timestamp in nRF51822 BLUETOOTH SMART BEACON KIT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3359/get-a-timestamp-in-nrf51822-bluetooth-smart-beacon-kit</link><description>Hi, 
 I&amp;#39;m trying to get a time stamp using that kit, but I&amp;#39;m having problems doing it because always I upload the code to the kit, it stops working. 
 I add here the code related with the time stamp: 
 //funcion declaration code
 void getConcatTimestamp</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Aug 2014 10:35:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3359/get-a-timestamp-in-nrf51822-bluetooth-smart-beacon-kit" /><item><title>RE: Get a timestamp in nRF51822 BLUETOOTH SMART BEACON KIT</title><link>https://devzone.nordicsemi.com/thread/12234?ContentTypeID=1</link><pubDate>Thu, 07 Aug 2014 10:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5b1fcf-8ea6-4a91-8a8c-92c2a3cb2f5b</guid><dc:creator>Ivan G&amp;#243;mez</dc:creator><description>&lt;p&gt;At the moment I find some difficulties in using timers, prescalers without a clear example, but if I have no other options I&amp;#39;d have to. I get the time stamps using strftime but the time goes really fast, the hours behavior is similar to a second in real time, why is it like this? Because that function should return the right time, the only problem I thought I could have was the fact that I haven&amp;#39;t set the time, so it could start from 01/01/01 00:00:00 for example. But I didn&amp;#39;t expect that the time behavior was so different compared to a real time one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get a timestamp in nRF51822 BLUETOOTH SMART BEACON KIT</title><link>https://devzone.nordicsemi.com/thread/12233?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2014 06:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:712ad6a2-8126-45cb-afe4-c533492828dd</guid><dc:creator>Ivan G&amp;#243;mez</dc:creator><description>&lt;p&gt;Thanks Cocoa. I&amp;#39;m going to check the link right now and I&amp;#39;ll post here the result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get a timestamp in nRF51822 BLUETOOTH SMART BEACON KIT</title><link>https://devzone.nordicsemi.com/thread/12232?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 19:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3678fadd-d3c1-4039-8934-4d5ac4765ec1</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;Your code is ok from a C point of view (compiled with gcc on a mac or linux the result is 2 digit year  = 14) , but with nRF51 you need a RTC/CALENDAR.
See  &lt;a href="https://devzone.nordicsemi.com/question/388/rtc-calendar/?answer=503#post-id-503"&gt;this&lt;/a&gt; about RTC/CALENDAR, sfrtime not works with nRF51822.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>