<?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 Re: Expressions: calculate time in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221824#M28377</link>
    <description>Hello KNA,&lt;BR /&gt;
&lt;BR /&gt;
It's a great idea I have not done yet.&lt;BR /&gt;
We are able to see that date properties are only text (system date are different) :&lt;BR /&gt;
&lt;IMG src="https://i.ibb.co/bWN7jHX/Capture-d-e-cran-2020-11-15-a-12-36-15.jpg" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
And there is no property values about date.&lt;BR /&gt;
&lt;IMG src="https://i.ibb.co/3W3b0WX/Capture-d-e-cran-2020-11-15-a-12-38-21.jpg" /&gt;&lt;BR /&gt;
So I think you should create your own hour, day, month, year properties to be able to calculate them.</description>
    <pubDate>Sun, 15 Nov 2020 11:39:57 GMT</pubDate>
    <dc:creator>Christophe Fortineau</dc:creator>
    <dc:date>2020-11-15T11:39:57Z</dc:date>
    <item>
      <title>Expressions: calculate time</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221823#M28376</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
Is there a way to use expressions so that if I give a date as a property (e.g. 1.1.2021) then the program could substract the current date from that given date and give the number of days between the dates as a value?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Nov 2020 13:56:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221823#M28376</guid>
      <dc:creator>KNA</dc:creator>
      <dc:date>2020-11-11T13:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions: calculate time</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221824#M28377</link>
      <description>Hello KNA,&lt;BR /&gt;
&lt;BR /&gt;
It's a great idea I have not done yet.&lt;BR /&gt;
We are able to see that date properties are only text (system date are different) :&lt;BR /&gt;
&lt;IMG src="https://i.ibb.co/bWN7jHX/Capture-d-e-cran-2020-11-15-a-12-36-15.jpg" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
And there is no property values about date.&lt;BR /&gt;
&lt;IMG src="https://i.ibb.co/3W3b0WX/Capture-d-e-cran-2020-11-15-a-12-38-21.jpg" /&gt;&lt;BR /&gt;
So I think you should create your own hour, day, month, year properties to be able to calculate them.</description>
      <pubDate>Sun, 15 Nov 2020 11:39:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221824#M28377</guid>
      <dc:creator>Christophe Fortineau</dc:creator>
      <dc:date>2020-11-15T11:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions: calculate time</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221825#M28378</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I think you a lead would be to use the day system that excel uses, &lt;BR /&gt;
&lt;BR /&gt;
0 = 1/0/1900  ( or 0/1/1900 in Europe)&lt;BR /&gt;
&lt;BR /&gt;
15 = 1/15/1900&lt;BR /&gt;
&lt;BR /&gt;
...&lt;BR /&gt;
&lt;BR /&gt;
44152 is 17 Novembre 2020&lt;BR /&gt;
&lt;BR /&gt;
You could use these value in archicad for calculation and then exports your schedule in excel and then show it as a date or a duration using DateIF formulas in excel. &lt;BR /&gt;
&lt;BR /&gt;
You can then use  import back to archicad (as another personal parameter ) if you need this values inside AC.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Graphisoft if you read me... this all lead to the same issue, give us a piece of spreadsheet functions inside the AC schedules</description>
      <pubDate>Tue, 17 Nov 2020 09:32:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221825#M28378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-17T09:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions: calculate time</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221826#M28379</link>
      <description>Christophe,&lt;BR /&gt;
&lt;BR /&gt;
I tried to use Archicad Time system, What I did works but with a little mistake on long duration.&lt;BR /&gt;
&lt;BR /&gt;
I had to setup 9 parameters &lt;BR /&gt;
&lt;BR /&gt;
Start Day&lt;BR /&gt;
Start Month &lt;BR /&gt;
Start Year&lt;BR /&gt;
&lt;BR /&gt;
End Day&lt;BR /&gt;
End Month&lt;BR /&gt;
End Year&lt;BR /&gt;
&lt;BR /&gt;
Start Date (concat the "start" values) to look make it looks like a date&lt;BR /&gt;
&lt;BR /&gt;
Start Date (same as start date but with the "End")&lt;BR /&gt;
&lt;BR /&gt;
Duration in days :&lt;BR /&gt;
formula based on &lt;BR /&gt;
 (end year*365 + end month*30,4166 + end day) - (start year*365 + start month*30,4166 + Start day)&lt;BR /&gt;
&lt;BR /&gt;
It works but because of the approximation of the month value and year you can get a few days in differences...&lt;BR /&gt;
&lt;BR /&gt;
Am really not a programmer, i think that maybe what i did could make some real ones laugh... &lt;BR /&gt;
but if it can help...&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2020 16:56:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-calculate-time/m-p/221826#M28379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-17T16:56:24Z</dc:date>
    </item>
  </channel>
</rss>

