<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Set date time linux</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc75601a13/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc75601a13/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/fc75601a13/</id><updated>2023-12-29T10:52:13.738000Z</updated><subtitle>Recent posts to Set date time linux</subtitle><entry><title>Set date time linux</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc75601a13/?limit=25#1c30" rel="alternate"/><published>2023-12-29T10:52:13.738000Z</published><updated>2023-12-29T10:52:13.738000Z</updated><author><name>Reinier Geers</name><uri>https://forge.codesys.com/u/reinier-geers/</uri></author><id>https://forge.codesys.com48e718fb2a2c14e6ac03b1f6844336ff451e7685</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Anyone ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Set date time linux</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc75601a13/?limit=25#f965" rel="alternate"/><published>2022-03-28T07:08:44.825000Z</published><updated>2022-03-28T07:08:44.825000Z</updated><author><name>Reinier Geers</name><uri>https://forge.codesys.com/u/reinier-geers/</uri></author><id>https://forge.codesys.comaa4fb861339d00bee5be8d5147c0cee9972f122b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;How can i set date and time in a linux controller with codesys.   For windows i use :&lt;br/&gt;
    IF set THEN&lt;br/&gt;
        SysTimeRtcConvertDateToUtc(setDate,dwSetTime_local);&lt;br/&gt;
        Result_Convert:=SysTimeRtcConvertLocalToUtc(dwTimestampLocal:= dwSetTime_local , pdwTimestampUtc:= dwSetTime );&lt;br/&gt;
        setTimestamp := DWORD_TO_DT(dwSetTime);&lt;br/&gt;
        SysTimeRtcSet(dwSetTime);&lt;br/&gt;
        set:= FALSE;&lt;br/&gt;
    END_IF&lt;/p&gt;
&lt;p&gt;But thats not workin by linux&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>