<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to how to set time zone of Beijing China</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c195513c6f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c195513c6f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/c195513c6f/</id><updated>2020-02-27T14:14:30.765000Z</updated><subtitle>Recent posts to how to set time zone of Beijing China</subtitle><entry><title>how to set time zone of Beijing China</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c195513c6f/?limit=25#5d61" rel="alternate"/><published>2020-02-27T14:14:30.765000Z</published><updated>2020-02-27T14:14:30.765000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.comf1c5015618dcfbb2d3f525b0e347a229fa044a6c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See the library for the Real Time Clock.&lt;br/&gt;
The struct consists of an integer for the general offset in minutes and also an array of structs (Period_info) for the standard and daylight saving time dates and offset.&lt;br/&gt;
The struct Period_info consist of a name, systemtime struct and integer for the time offset.&lt;br/&gt;
The systemtime struct consists of date and time information when the daylight saving time starts and stops.&lt;/p&gt;
&lt;p&gt;In the DTU librarary is a global constant variable which contains the central european standard.&lt;br/&gt;
The easiest way to see how the time zone information is declared, you can define a variable in you application as CET time zone:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;CET_TimeZone&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;DTU&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;TIME_ZONE_INFO&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;DTU&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;gc_tziTimeZoneCET&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Please regard the fact that in this case the number "5" means the last day (last sunday) of the month.&lt;/p&gt;
&lt;p&gt;!!! with CAA DTUtil Extern library 3.5.1.0 the above mentioned definition should be:&lt;br/&gt;
    CET_TimeZone: DTU.RTCLK.TIME_ZONE_INFO := DTU.GlobalConstants.gc_tziTimeZoneCET&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to set time zone of Beijing China</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c195513c6f/?limit=25#8add" rel="alternate"/><published>2020-02-27T14:14:29.702000Z</published><updated>2020-02-27T14:14:29.702000Z</updated><author><name>yue-qi-qi</name><uri>https://forge.codesys.com/u/yue-qi-qi/</uri></author><id>https://forge.codesys.com8ef6b37e29d5be893815ef46291d97931da2c5b5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;tzTimeZeon:RTCLK.TIME_ZONE_INFO&lt;br/&gt;
If I am now in Beijing China，then How to fill the tzTimeZeon variables？&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>