<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Data Point Details "Export CSV" does not show date/time]]></title><description><![CDATA[<p dir="auto">When I export a csv file from Data Point Details, It shows something like</p>
<p dir="auto">"value","timestamp","annotation"<br />
"0.0","1458648000000",<br />
"0.5","1458651600000",</p>
<p dir="auto">Can the module show date/time instead of timestamp ?</p>
<p dir="auto">The export csv should look similar to exported files in data points.<br />
Point name, Time, Value</p>
<p dir="auto">Thanks !</p>
]]></description><link>https://forum.mango-os.com/topic/2207/data-point-details-export-csv-does-not-show-date-time</link><generator>RSS for Node</generator><lastBuildDate>Thu, 17 Sep 2026 00:46:20 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2207.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Apr 2016 13:44:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Data Point Details "Export CSV" does not show date/time on Wed, 13 Apr 2016 15:35:17 GMT]]></title><description><![CDATA[<p dir="auto">Ah, yes. I understand.</p>
]]></description><link>https://forum.mango-os.com/post/11419</link><guid isPermaLink="true">https://forum.mango-os.com/post/11419</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Wed, 13 Apr 2016 15:35:17 GMT</pubDate></item><item><title><![CDATA[Reply to Data Point Details "Export CSV" does not show date/time on Wed, 13 Apr 2016 15:31:42 GMT]]></title><description><![CDATA[<p dir="auto">Because the detail data point module can do delta and other operations for hour, day and so on. If the export csv file can output all data will be very helpful. The old data point cannot do this.</p>
]]></description><link>https://forum.mango-os.com/post/11418</link><guid isPermaLink="true">https://forum.mango-os.com/post/11418</guid><dc:creator><![CDATA[ray]]></dc:creator><pubDate>Wed, 13 Apr 2016 15:31:42 GMT</pubDate></item><item><title><![CDATA[Reply to Data Point Details "Export CSV" does not show date/time on Wed, 13 Apr 2016 15:26:11 GMT]]></title><description><![CDATA[<p dir="auto">Like I said, you can get that data that way  right now on the other data point details page. But, yes, we will consider it.</p>
]]></description><link>https://forum.mango-os.com/post/11417</link><guid isPermaLink="true">https://forum.mango-os.com/post/11417</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Wed, 13 Apr 2016 15:26:11 GMT</pubDate></item><item><title><![CDATA[Reply to Data Point Details "Export CSV" does not show date/time on Wed, 13 Apr 2016 15:23:03 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your help and response. Our users do not know any programming language. Would it be possible to change in the next release of data point detail module ? Thanks !</p>
]]></description><link>https://forum.mango-os.com/post/11416</link><guid isPermaLink="true">https://forum.mango-os.com/post/11416</guid><dc:creator><![CDATA[ray]]></dc:creator><pubDate>Wed, 13 Apr 2016 15:23:03 GMT</pubDate></item><item><title><![CDATA[Reply to Data Point Details "Export CSV" does not show date/time on Tue, 12 Apr 2016 16:08:02 GMT]]></title><description><![CDATA[<p dir="auto">This is the behavior of exporting points from the older data point details page. There is a github  issue kicking around to enforce more consistency in the CSV exports: <a href="https://github.com/infiniteautomation/ma-core-public/issues/518" rel="nofollow ugc">https://github.com/infiniteautomation/ma-core-public/issues/518</a></p>
<p dir="auto">I would advise using the other data point details page for these exports if possible. If not, a little script can convert the timestamps. Using python:</p>
<pre><code>from datetime import datetime, date
import re

inFile = open("/path/to/your/export")
outFile = open("/path/to/your/output.csv", "w+")

def myFormatter(dt) :
  if isinstance(dt, datetime) or isinstance(dt, date) :
     return dt.strftime("%m/%d/%y %I:%M:%S %p")
  else :
    print "Bad date!"
    return "Converting error"

for line in inFile:
  g = line.replace("\"","").split(",")
  if len(g) &lt; 2 or re.search("[0-9]+", g[1]) is None :
    continue
  #add back the quotes if you want
  outFile.write(g[0] + "," + myFormatter(datetime.fromtimestamp( int(g[1])/1000 )) + "," + g[2])

inFile.close()
outFile.close()</code></pre>
]]></description><link>https://forum.mango-os.com/post/11410</link><guid isPermaLink="true">https://forum.mango-os.com/post/11410</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 12 Apr 2016 16:08:02 GMT</pubDate></item><item><title><![CDATA[Reply to Data Point Details "Export CSV" does not show date/time on Fri, 08 Apr 2016 13:53:20 GMT]]></title><description><![CDATA[<p dir="auto">I should add that it is paid version and not trial. The Mango core is 2.7.10 and the "data point details view" is 1.0.5.</p>
]]></description><link>https://forum.mango-os.com/post/11401</link><guid isPermaLink="true">https://forum.mango-os.com/post/11401</guid><dc:creator><![CDATA[ray]]></dc:creator><pubDate>Fri, 08 Apr 2016 13:53:20 GMT</pubDate></item></channel></rss>