<?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>Including Current Date and Time in Log Messages</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111689/including-current-date-and-time-in-log-messages</link><description>I am currently working on a project using your device (nRF9161), and I need some assistance with incorporating the current date and time into my log messages. Specifically, I want to include the hour, minute, second, and millisecond of the current day</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jun 2024 07:32:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111689/including-current-date-and-time-in-log-messages" /><item><title>RE: Including Current Date and Time in Log Messages</title><link>https://devzone.nordicsemi.com/thread/487040?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2024 07:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8090e22b-92c3-4b7e-a3c2-9bea9c9ecd03</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;DECT NR+ is a 5G technology, but it is not LTE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is a desentralized protocol, meaning that you need to provide such features as time to your network.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you plan to use LTE with nRF9161, you can use examples such as &amp;quot;location&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/location/README.html#location-sample"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/location/README.html#location-sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As &amp;quot;nrf9161dk&amp;quot; is listed as a supported board.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Including Current Date and Time in Log Messages</title><link>https://devzone.nordicsemi.com/thread/486996?ContentTypeID=1</link><pubDate>Sun, 02 Jun 2024 16:38:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf4fb930-e6dc-463f-913c-6372d1cc5635</guid><dc:creator>Pietro Marrone</dc:creator><description>&lt;p&gt;I&amp;#39;m using the modem of the device (nRD9161) to work with DECT NR+. Can I still establish a network connection in order to use the&amp;nbsp;&lt;code&gt;date_time&lt;/code&gt;&lt;span&gt; library provided?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Including Current Date and Time in Log Messages</title><link>https://devzone.nordicsemi.com/thread/486906?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 12:45:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f9e156f-9ff6-4225-ba22-a91412acd32d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To get time, you need to get this from somewhere, for instance&amp;nbsp;by NTP protocol or from a LTE base station or similar.&lt;/p&gt;
&lt;p&gt;date_time library provides time from such sources:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/others/date_time.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/others/date_time.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>