<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Library for working with DATE_AND_TIME (DT) variable</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/73ef0db7c7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/73ef0db7c7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/73ef0db7c7/</id><updated>2020-02-27T16:00:04.418000Z</updated><subtitle>Recent posts to Library for working with DATE_AND_TIME (DT) variable</subtitle><entry><title>Library for working with DATE_AND_TIME (DT) variable</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/73ef0db7c7/?limit=25#843f" rel="alternate"/><published>2020-02-27T16:00:04.418000Z</published><updated>2020-02-27T16:00:04.418000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.comb579a4d0254da7f935c945f08df5473d1991f07d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can have a look on the internet site 'CODESYS Help', for example here :&lt;br/&gt;
&lt;a class="" href="https://help.codesys.com/webapp/idx-standard-lib;product=standard;version=3.5.14.0" rel="nofollow"&gt;https://help.codesys.com/webapp/idx-sta ... n=3.5.14.0&lt;/a&gt;&lt;br/&gt;
I think it's the simplest and most up-to-date.&lt;/p&gt;
&lt;p&gt;Otherwise there is some help files (Standard.chm, Util.chm, ...) installed on your PC during the installation of CODESYS.&lt;br/&gt;
You can find it on :&lt;br/&gt;
C:/Program files/CODESYS 3.5.../CODESYS/Online Help/En&lt;/p&gt;
&lt;p&gt;You must use 'Program files' with CODESYS V3.5 64 bits ou 'Program files (x86)' with CODESYS V3.5 16 bits.&lt;br/&gt;
(Access paths correspond to a use of Windows 7, with other versions it may be different   )&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Library for working with DATE_AND_TIME (DT) variable</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/73ef0db7c7/?limit=25#9ca5" rel="alternate"/><published>2020-02-27T16:00:01.996000Z</published><updated>2020-02-27T16:00:01.996000Z</updated><author><name>lubos</name><uri>https://forge.codesys.com/u/lubos/</uri></author><id>https://forge.codesys.comf8b4e3b366dbb14ea4c70b77902f886f92c10608</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank You JAPIB very much for helping me...&lt;br/&gt;
I used &lt;strong&gt;Util.SplitDateTime&lt;/strong&gt; function for conversion. I didn't know about &lt;strong&gt;UTIL&lt;/strong&gt; before...&lt;/p&gt;
&lt;p&gt;Btw, is there some detailed documentation for standars 3S libraries? Only documentation, what i can find is short description of functions in Library Manager, but it is not sometimes enought &lt;br/&gt;
The only source of library description find i on this forum in question, but is somewhere oficial &lt;strong&gt;LIBRARY DOCU&lt;/strong&gt; to easy find?&lt;br/&gt;
BR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Library for working with DATE_AND_TIME (DT) variable</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/73ef0db7c7/?limit=25#06bb" rel="alternate"/><published>2020-02-27T16:00:01.218000Z</published><updated>2020-02-27T16:00:01.218000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com4e27752963a0377853184f97ab41b9abac99f56f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can find an example in the CODESYS STORE : Date and Time (&lt;a class="" href="https://store.codesys.com/date-and-time.html" rel="nofollow"&gt;https://store.codesys.com/date-and-time.html&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;About OSCAT be careful, OSCAT function blocks often use other OSCAT function blocks &lt;br/&gt;
and, for date and time management, they use a Data type (from OSCAT lbrary) called CALENDAR.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Library for working with DATE_AND_TIME (DT) variable</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/73ef0db7c7/?limit=25#07e4" rel="alternate"/><published>2020-02-27T16:00:00.330000Z</published><updated>2020-02-27T16:00:00.330000Z</updated><author><name>lubos</name><uri>https://forge.codesys.com/u/lubos/</uri></author><id>https://forge.codesys.com3ea14a1c6f002c4bff5f99434daadf164503c28b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have question, what is ideal way to manipulate with varible of DATE_AND_TIME (DT) type. I want to make Visu for changing RTC time on Raspberry. My system CODESYS V3.5 SP14 Patch2.&lt;/p&gt;
&lt;p&gt;I get time from system RTC clock with this function:&lt;br/&gt;
UtcTime := &lt;strong&gt;SysTimeRtcGet&lt;/strong&gt;(dummy);&lt;/p&gt;
&lt;p&gt;Now i need e.g. add one hour or one month and write UtcTime back to system with &lt;strong&gt;SysTimeRtcSet&lt;/strong&gt;().&lt;/p&gt;
&lt;p&gt;I tried instal &lt;strong&gt;OSCAT&lt;/strong&gt; library and use function HOUR_OF_DT, but compiler say: "HOUR_OF_DT not defined"   . I don´t know why, only in manual is writen, that OSCAT support only &lt;strong&gt;32bit&lt;/strong&gt; system and my &lt;strong&gt;Raspberry 3B+ is 64bit&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Is there some oficial system library to work easy with date and time?&lt;/p&gt;
&lt;p&gt;Thanks for info, Lubos.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>