<?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 Expires date format - help in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expires-date-format-help/m-p/520563#M25396</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you give an example of a date, in particular for the expires field for the Create Shared Link With Settings endpoint? I'm struggling to get it to work, keep keeping bad requests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the docs:&amp;nbsp;%Y-%m-%dT%H:%M:%SZ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My implementation in PHP:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;date&lt;/SPAN&gt;(&lt;SPAN&gt;'Y-m-dTH:i:sZ', time() + $a_number_of_seconds)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;(which outputs&amp;nbsp;2021-05-15BST11:23:323600)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume I shouldn't put the percentage symbols in the date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you could give me the PHP date format that would be great &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; Otherwise a full date example (not just the format) would help.&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 05:10:58 GMT</pubDate>
    <dc:creator>dandev</dc:creator>
    <dc:date>2021-05-17T05:10:58Z</dc:date>
    <item>
      <title>Expires date format - help</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expires-date-format-help/m-p/520563#M25396</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you give an example of a date, in particular for the expires field for the Create Shared Link With Settings endpoint? I'm struggling to get it to work, keep keeping bad requests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the docs:&amp;nbsp;%Y-%m-%dT%H:%M:%SZ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My implementation in PHP:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;date&lt;/SPAN&gt;(&lt;SPAN&gt;'Y-m-dTH:i:sZ', time() + $a_number_of_seconds)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;(which outputs&amp;nbsp;2021-05-15BST11:23:323600)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume I shouldn't put the percentage symbols in the date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you could give me the PHP date format that would be great &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; Otherwise a full date example (not just the format) would help.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 05:10:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expires-date-format-help/m-p/520563#M25396</guid>
      <dc:creator>dandev</dc:creator>
      <dc:date>2021-05-17T05:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expires date format - help</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expires-date-format-help/m-p/520564#M25397</link>
      <description>&lt;P&gt;Nevermind, figured it out. I needed to be a bit more literal! The T and Z should appear as such in the date, so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-05-15T11:23:32Z&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 10:33:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expires-date-format-help/m-p/520564#M25397</guid>
      <dc:creator>dandev</dc:creator>
      <dc:date>2021-05-15T10:33:22Z</dc:date>
    </item>
  </channel>
</rss>

