<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>v:format.dateRange</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/347 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="347"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;style type="text/css"&gt;/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.xml .de1, .xml .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.xml  {font-family:monospace;}
.xml .imp {font-weight: bold; color: red;}
.xml li, .xml .li1 {color: #DDD;}
.xml .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.xml .es0 {color: #000099; font-weight: bold;}
.xml .br0 {color: #66cc66;}
.xml .sy0 {color: #66cc66;}
.xml .st0 {color: #ff0000;}
.xml .sc-1 {color: #808080; font-style: italic;}
.xml .sc0 {color: #00bbdd;}
.xml .sc1 {color: #ddbb00;}
.xml .sc2 {color: #339933;}
.xml .sc3 {color: #009900;}
.xml .re0 {color: #000066;}
.xml .re1 {color: #000000; font-weight: bold;}
.xml .re2 {color: #000000; font-weight: bold;}
.xml span.xtra { display:block; }
&lt;/style&gt;&lt;div class="code"&gt;&lt;table class="xml"&gt;&lt;tbody&gt;&lt;tr class="li1"&gt;&lt;td class="ln"&gt;&lt;pre class="de1"&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class="de1"&gt;&lt;pre class="de1"&gt;&lt;span class="sc3"&gt;&lt;span class="re1"&gt;&amp;lt;v:format.dateRange&lt;/span&gt; &lt;span class="re0"&gt;start&lt;/span&gt;=&lt;span class="st0"&gt;&amp;quot;2016-05-22&amp;quot;&lt;/span&gt; &lt;span class="re0"&gt;end&lt;/span&gt;=&lt;span class="st0"&gt;&amp;quot;2017-02-18&amp;quot;&lt;/span&gt; &lt;span class="re0"&gt;return&lt;/span&gt;=&lt;span class="st0"&gt;&amp;quot;d&amp;quot;&lt;/span&gt;&lt;span class="re2"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/347/rev-raw/c3628c99ce0f62c77757b1fc04dc9af73a401f4d/input.html" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/347#input.html"&gt;input.html&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;object(DateInterval)[1300]&#13;
  public 'y' =&amp;gt; int 0&#13;
  public 'm' =&amp;gt; int 8&#13;
  public 'd' =&amp;gt; int 27&#13;
  public 'h' =&amp;gt; int 0&#13;
  public 'i' =&amp;gt; int 0&#13;
  public 's' =&amp;gt; int 0&#13;
  public 'weekday' =&amp;gt; int 0&#13;
  public 'weekday_behavior' =&amp;gt; int 0&#13;
  public 'first_last_day_of' =&amp;gt; int 0&#13;
  public 'invert' =&amp;gt; int 1&#13;
  public 'days' =&amp;gt; int 272&#13;
  public 'special_type' =&amp;gt; int 0&#13;
  public 'special_amount' =&amp;gt; int 0&#13;
  public 'have_weekday_relative' =&amp;gt; int 0&#13;
  public 'have_special_relative' =&amp;gt; int 0&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/347/rev-raw/c3628c99ce0f62c77757b1fc04dc9af73a401f4d/output.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/347#output.txt"&gt;output.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;use &amp;quot;a&amp;quot; as &amp;quot;return&amp;quot; value&#13;
&#13;
See http://php.net/manual/en/dateinterval.format.php&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/347/rev-raw/c3628c99ce0f62c77757b1fc04dc9af73a401f4d/solution.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/347#solution.txt"&gt;solution.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
