<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to File .csv in Trace Recorder</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bd1b7951c1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bd1b7951c1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/bd1b7951c1/</id><updated>2020-02-27T13:48:17.578000Z</updated><subtitle>Recent posts to File .csv in Trace Recorder</subtitle><entry><title>File .csv in Trace Recorder</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bd1b7951c1/?limit=25#c9bd" rel="alternate"/><published>2020-02-27T13:48:17.578000Z</published><updated>2020-02-27T13:48:17.578000Z</updated><author><name>k2teknik</name><uri>https://forge.codesys.com/u/k2teknik/</uri></author><id>https://forge.codesys.comd0ed8ccde483ffe2f219e2efa0f249dcea999a2f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Domingo hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
For example, today This number should indicate today date and time (04/10/2016).&lt;br/&gt;
How can I decode this number?&lt;br/&gt;
It must be Unix date (and time) format, but I think you are missing a zero?&lt;br/&gt;
147557616  gives: "&lt;span style="color: #0000FF;"&gt;Wed, 04 Sep 1974 20:13:36 GMT&lt;/span&gt;"&lt;br/&gt;
1475576160 gives: &lt;span style="color: #0000FF;"&gt;"Tue, 04 Oct 2016 10:16:00 GMT&lt;/span&gt;"&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So in excel you have your unix date (date and time stamp it is) in cell A1 and in an other cell (that you format as date) type: &lt;span style="color: #BF0000;"&gt;=A1/(60&lt;em&gt;60&lt;/em&gt;24)+"1/1/1970"&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>File .csv in Trace Recorder</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bd1b7951c1/?limit=25#0f9f" rel="alternate"/><published>2020-02-27T13:48:17.504000Z</published><updated>2020-02-27T13:48:17.504000Z</updated><author><name>Domingo</name><uri>https://forge.codesys.com/u/domingo/</uri></author><id>https://forge.codesys.com89aeea164e79c2dad812048bf33665df77e3c7b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I use Codesys V3.5 SP8 Patch 2.&lt;br/&gt;
With trace recorder I write a file in .csv with the values of two variables and then use it in Excel.&lt;br/&gt;
Field Trigger.Date writes the date/time in a format that I cannot turn with Excel.&lt;br/&gt;
For example, today &lt;strong&gt;Trigger.Data; 147557616 &lt;/strong&gt;This number should indicate today date and time (04/10/2016).&lt;br/&gt;
How can I decode this number?&lt;br/&gt;
Thanks to all.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>