<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDE中的主题 Re: Using time functions (localtime() with timezone corr)</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Using-time-functions-localtime-with-timezone-corr/m-p/589140#M28486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Nov 02 07:41:05 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, Redlib provides no support for timezones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:49:01 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:49:01Z</dc:date>
    <item>
      <title>Using time functions (localtime() with timezone corr)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Using-time-functions-localtime-with-timezone-corr/m-p/589139#M28485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by FlySnake on Wed Nov 02 01:17:18 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to convert NTP time into broken-down time representation. NTP time is taken from internet, corrected into unix time and then fed to localtime() function. But in returned struct I get UTC time, not local. To make it local time I need to set TZ env variable (man 3 localtime), but this is not GNU/Linux. How can I do this in Cortex-M3 ? Of course I can manually correct time to desirable timezone and daylight savings, but it's not very beautiful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Using-time-functions-localtime-with-timezone-corr/m-p/589139#M28485</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using time functions (localtime() with timezone corr)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Using-time-functions-localtime-with-timezone-corr/m-p/589140#M28486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Nov 02 07:41:05 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, Redlib provides no support for timezones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Using-time-functions-localtime-with-timezone-corr/m-p/589140#M28486</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:01Z</dc:date>
    </item>
  </channel>
</rss>

