<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Prisma Public Cloud (formerly Redlock) API: lastModifiedTs - What format is this in? in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-public-cloud-formerly-redlock-api-lastmodifiedts-what/m-p/260311#M136</link>
    <description>&lt;P&gt;In the below JSON return on the /cloud API, &lt;FONT face="courier new,courier"&gt;lastModifiedTs&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;addedOn&lt;/FONT&gt; are dates. However, I can't find info on the format they're on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
        "name": xxxxx,
        "cloudType": xxxxx,
        "accountType": xxxxx,
        "enabled": true,
        "lastModifiedTs": 1551071384318,
        "lastModifiedBy": xxxxx,
        "ingestionMode": xxxxx,
        "groupIds": [
            "xxxxx"
        ],
        "groups": [
            {
                "id": "xxxxx",
                "name": "xxxxx"
            }
        ],
        "status": "xxxxx",
        "accountId": "xxxxx",
        "addedOn": 1550453562553
    },&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any idea what format the date/times are, or how to format them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: after marking solved, I found mention of the TimeMode in the API docs at:&amp;nbsp;&lt;A href="https://api.docs.redlock.io/reference#time-range-model" target="_blank" rel="noopener"&gt;https://api.docs.redlock.io/reference#time-range-model&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 17:15:03 GMT</pubDate>
    <dc:creator>JBox</dc:creator>
    <dc:date>2020-09-02T17:15:03Z</dc:date>
    <item>
      <title>Prisma Public Cloud (formerly Redlock) API: lastModifiedTs - What format is this in?</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-public-cloud-formerly-redlock-api-lastmodifiedts-what/m-p/260311#M136</link>
      <description>&lt;P&gt;In the below JSON return on the /cloud API, &lt;FONT face="courier new,courier"&gt;lastModifiedTs&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;addedOn&lt;/FONT&gt; are dates. However, I can't find info on the format they're on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
        "name": xxxxx,
        "cloudType": xxxxx,
        "accountType": xxxxx,
        "enabled": true,
        "lastModifiedTs": 1551071384318,
        "lastModifiedBy": xxxxx,
        "ingestionMode": xxxxx,
        "groupIds": [
            "xxxxx"
        ],
        "groups": [
            {
                "id": "xxxxx",
                "name": "xxxxx"
            }
        ],
        "status": "xxxxx",
        "accountId": "xxxxx",
        "addedOn": 1550453562553
    },&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any idea what format the date/times are, or how to format them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: after marking solved, I found mention of the TimeMode in the API docs at:&amp;nbsp;&lt;A href="https://api.docs.redlock.io/reference#time-range-model" target="_blank" rel="noopener"&gt;https://api.docs.redlock.io/reference#time-range-model&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 17:15:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-public-cloud-formerly-redlock-api-lastmodifiedts-what/m-p/260311#M136</guid>
      <dc:creator>JBox</dc:creator>
      <dc:date>2020-09-02T17:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Public Cloud (formerly Redlock) API: lastModifiedTs - What format is this in?</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-public-cloud-formerly-redlock-api-lastmodifiedts-what/m-p/260312#M137</link>
      <description>&lt;P&gt;It's in UNIX milliseconds time.&amp;nbsp; Most scripting languages convert using seconds, so you will likely have to divide the timestamp by 1000 then convert.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 00:19:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-public-cloud-formerly-redlock-api-lastmodifiedts-what/m-p/260312#M137</guid>
      <dc:creator>kchen</dc:creator>
      <dc:date>2019-06-13T00:19:08Z</dc:date>
    </item>
  </channel>
</rss>

