<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Doubt about the CurTimeEx function block.</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/39a5a89350/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/39a5a89350/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/39a5a89350/</id><updated>2020-02-27T22:51:55.531000Z</updated><subtitle>Recent posts to Doubt about the CurTimeEx function block.</subtitle><entry><title>Doubt about the CurTimeEx function block.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/39a5a89350/?limit=25#d83e" rel="alternate"/><published>2020-02-27T22:51:55.531000Z</published><updated>2020-02-27T22:51:55.531000Z</updated><author><name>hcchin</name><uri>https://forge.codesys.com/u/hcchin/</uri></author><id>https://forge.codesys.comb3a7c7c7d91d293386a65dc6f01c6b3caba5aa7c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;shooter hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
go to  w &lt;a class="" href="http://www.oscat.de" rel="nofollow"&gt;www.oscat.de&lt;/a&gt; w &lt;br/&gt;
you will find a day_of_week function.&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;</summary></entry><entry><title>Doubt about the CurTimeEx function block.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/39a5a89350/?limit=25#5544" rel="alternate"/><published>2020-02-27T22:51:51.030000Z</published><updated>2020-02-27T22:51:51.030000Z</updated><author><name>Romuald</name><uri>https://forge.codesys.com/u/romuald/</uri></author><id>https://forge.codesys.com11334257fd665a9f119c242fc5395e4f3719fe41</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;hcchin hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
I am trying to use this "CurTimeEx" function block to get the controller's date, time, and day of the week but it just return the default date, time and the day of the week. (1970-01-01, 00:00s, 0)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;On my WAGO, I noticed that first, the clock is not updated. In the web interface, the option 'Clock' always shows the beginning's unix time i.e. 1970-01-01. After a clock update, the clock has been functionnal.&lt;/p&gt;
&lt;p&gt;So try to update clock with the Web interface.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Doubt about the CurTimeEx function block.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/39a5a89350/?limit=25#63b2" rel="alternate"/><published>2020-02-27T22:51:49.414000Z</published><updated>2020-02-27T22:51:49.414000Z</updated><author><name>rahulnshinde</name><uri>https://forge.codesys.com/u/rahulnshinde/</uri></author><id>https://forge.codesys.com90c5ba4977ec1be715def190990e8cd3818c87af</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try this sample project I crafted out for you.&lt;/p&gt;
&lt;p&gt;U will be required to change the target settings.&lt;/p&gt;
&lt;p&gt;You can investigate further in my custom made program as per your requirements.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rahul.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=184" rel="nofollow"&gt;Sample.rar &lt;span&gt;&lt;span&gt;[22.02 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Doubt about the CurTimeEx function block.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/39a5a89350/?limit=25#3695" rel="alternate"/><published>2020-02-27T22:51:47.830000Z</published><updated>2020-02-27T22:51:47.830000Z</updated><author><name>maauto</name><uri>https://forge.codesys.com/u/maauto/</uri></author><id>https://forge.codesys.com4305baff3fd3e82749caf5a141d54357f838ee5c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Maybe it's platform dependent, but for my target CurTimeEx just works without needing to do anything else. You need to include SysLibTime.lib and that's it. And BTW, it doesn't seem to work in simulation mode.&lt;/p&gt;
&lt;p&gt;But what do you mean by "when I give the date and time to the CurTimeEx" ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Doubt about the CurTimeEx function block.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/39a5a89350/?limit=25#2bd0" rel="alternate"/><published>2020-02-27T22:51:43.352000Z</published><updated>2020-02-27T22:51:43.352000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com4b74918f21b2e40b171240dbadc05d439e01f8c8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;go to  w &lt;a class="" href="http://www.oscat.de" rel="nofollow"&gt;www.oscat.de&lt;/a&gt; w &lt;/p&gt;
&lt;p&gt;you will find a day_of_week function.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Doubt about the CurTimeEx function block.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/39a5a89350/?limit=25#1000" rel="alternate"/><published>2020-02-27T22:51:41.753000Z</published><updated>2020-02-27T22:51:41.753000Z</updated><author><name>hcchin</name><uri>https://forge.codesys.com/u/hcchin/</uri></author><id>https://forge.codesys.com833acbcb96d822088a0baa7ba34b60ffff9c2531</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to use this "CurTimeEx" function block to get the controller's date, time, and day of the week but it just return the default date, time and the day of the week. (1970-01-01, 00:00s, 0)&lt;/p&gt;
&lt;p&gt;I want to know the day of the week when i give the date and time to the CurTimeEx function block. It seem doesn't work.....&lt;/p&gt;
&lt;p&gt;I also have try the "CurTime" i am not sure, Is it works as i don't know what is return data mean for... the data type is "SysTime64".&lt;/p&gt;
&lt;p&gt;perhaps you can advise me how to use the CurTimeEx function block.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>