<?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[[gelöst] Datums picker]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">ich bin auf der Suche nach einer Möglichkeit ein Datum über VIS zu ändern bzw. auszuwählen. Das ausgewählte Dateum sollte dann in einen Datenpunkt geschrieben werden.<br />
Ideal wäre natürlich ein Art Datums Picker in dem mal z.B. einen Monat angezeigt bekommt und dann kann man das gewünschte Datum auswählen. Gibt es sowas ?</p>
<p dir="auto">Andreas</p>
]]></description><link>https://forum.iobroker.net/topic/54162/gelöst-datums-picker</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Apr 2026 19:11:22 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/54162.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Apr 2022 16:33:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [gelöst] Datums picker on Sat, 23 Apr 2022 10:44:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/liv-in-sky" aria-label="Profile: liv-in-sky">@<bdi>liv-in-sky</bdi></a></p>
<p dir="auto">Hi,</p>
<p dir="auto">cool, ich habe zwar einen ähnlichen Ansatz gewählt mit den Datums-Objekten aber Deine Version ist mit Javascript deutlich flexibler und ich muß nicht Objekte erzeugen die ich nur zum umrechnen benötige).<br />
Nur zur Vollständigkeit hier meine Lösung (nur der Funktionsanteil in einem Blockly).</p>
<p dir="auto"><img src="/assets/uploads/files/1650710110395-2022-04-23-12_32_32-javascript-raspberrypi.png" alt="2022-04-23 12_32_32-javascript - raspberrypi.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">und hier noch wie der Aufruf aus dem Skript aussieht<br />
<img src="/assets/uploads/files/1650710563570-2022-04-23-12_41_50-javascript-raspberrypi.png" alt="2022-04-23 12_41_50-javascript - raspberrypi.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Und da hat es bei mir angefangen, denn AnreiseDatum und AbreiseDatum müssen das Format MM/TT/JJJJ haben also z.B. 04/22/2022.</p>
<p dir="auto">Danke</p>
<p dir="auto">Andreas</p>
]]></description><link>https://forum.iobroker.net/post/794488</link><guid isPermaLink="true">https://forum.iobroker.net/post/794488</guid><dc:creator><![CDATA[RandyAndy]]></dc:creator><pubDate>Sat, 23 Apr 2022 10:44:21 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Datums picker on Fri, 22 Apr 2022 12:57:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/randyandy" aria-label="Profile: randyandy">@<bdi>randyandy</bdi></a> sagte in <a href="/post/794123">Datums picker</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/liv-in-sky" aria-label="Profile: liv-in-sky">@<bdi>liv-in-sky</bdi></a><br />
wie bekommst Du</p>
</blockquote>
<p dir="auto">so:</p>
<p dir="auto"></p><section class="spoiler-wrapper"><button class="spoiler-control btn btn-default">import blockly</button><section style="display:none" class="spoiler-content"><p></p>
<pre><code>&lt;xml xmlns="https://developers.google.com/blockly/xml"&gt;
 &lt;variables&gt;
   &lt;variable id="y6D2J,D7lSl{^3XEUHi3"&gt;anfang&lt;/variable&gt;
   &lt;variable id="f%!ae_J1jypo0[l@tZ})"&gt;ende&lt;/variable&gt;
 &lt;/variables&gt;
 &lt;block type="on" id="~uwbh!=2fp37L7MD8/GJ" x="-262" y="-163"&gt;
   &lt;field name="OID"&gt;0_userdata.0.CONTROL-OWN.AAATEST.TestString4&lt;/field&gt;
   &lt;field name="CONDITION"&gt;ne&lt;/field&gt;
   &lt;field name="ACK_CONDITION"&gt;&lt;/field&gt;
   &lt;statement name="STATEMENT"&gt;
     &lt;block type="debug" id=")U@[sG/HUtQ!kh!R)-b^"&gt;
       &lt;field name="Severity"&gt;log&lt;/field&gt;
       &lt;value name="TEXT"&gt;
         &lt;shadow type="text" id="[5MWGub-JmhV8bsJg3RZ"&gt;
           &lt;field name="TEXT"&gt;test&lt;/field&gt;
         &lt;/shadow&gt;
         &lt;block type="convert_from_date" id="N%9na$vaYK$tP|f%oMy3"&gt;
           &lt;mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"&gt;&lt;/mutation&gt;
           &lt;field name="OPTION"&gt;object&lt;/field&gt;
           &lt;value name="VALUE"&gt;
             &lt;block type="on_source" id="m.Z$nRCHP{RR/6eYT_SC"&gt;
               &lt;field name="ATTR"&gt;state.val&lt;/field&gt;
             &lt;/block&gt;
           &lt;/value&gt;
         &lt;/block&gt;
       &lt;/value&gt;
       &lt;next&gt;
         &lt;block type="debug" id=",fV_{wH2o!($T8;IHG!l"&gt;
           &lt;field name="Severity"&gt;log&lt;/field&gt;
           &lt;value name="TEXT"&gt;
             &lt;shadow type="text" id="b`,P@.SuXkmMU3uVK@/*"&gt;
               &lt;field name="TEXT"&gt;test&lt;/field&gt;
             &lt;/shadow&gt;
             &lt;block type="convert_from_date" id="A2YO~gIh(?i@JiicR}~U"&gt;
               &lt;mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"&gt;&lt;/mutation&gt;
               &lt;field name="OPTION"&gt;object&lt;/field&gt;
               &lt;value name="VALUE"&gt;
                 &lt;block type="get_value" id="9Tn6}I2sHt,y:f@4xqmA"&gt;
                   &lt;field name="ATTR"&gt;val&lt;/field&gt;
                   &lt;field name="OID"&gt;0_userdata.0.CONTROL-OWN.AAATEST.TestString6&lt;/field&gt;
                 &lt;/block&gt;
               &lt;/value&gt;
             &lt;/block&gt;
           &lt;/value&gt;
           &lt;next&gt;
             &lt;block type="debug" id="(`z{]=3O.}mrS^q-zUU*"&gt;
               &lt;field name="Severity"&gt;log&lt;/field&gt;
               &lt;value name="TEXT"&gt;
                 &lt;shadow type="text" id="vPtGPM4XD|N1N8cfz7!4"&gt;
                   &lt;field name="TEXT"&gt;test&lt;/field&gt;
                 &lt;/shadow&gt;
                 &lt;block type="procedures_callcustomreturn" id="RNFwlX}B5=}+GIC}YN2m"&gt;
                   &lt;mutation name="etwas tun"&gt;
                     &lt;arg name="anfang"&gt;&lt;/arg&gt;
                     &lt;arg name="ende"&gt;&lt;/arg&gt;
                   &lt;/mutation&gt;
                   &lt;value name="ARG0"&gt;
                     &lt;block type="convert_from_date" id="9Z?9lA$z:c)UC]MX+|p+"&gt;
                       &lt;mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"&gt;&lt;/mutation&gt;
                       &lt;field name="OPTION"&gt;object&lt;/field&gt;
                       &lt;value name="VALUE"&gt;
                         &lt;block type="get_value" id="KA,MfU-Lmm?w:Id8uB12"&gt;
                           &lt;field name="ATTR"&gt;val&lt;/field&gt;
                           &lt;field name="OID"&gt;0_userdata.0.CONTROL-OWN.AAATEST.TestString6&lt;/field&gt;
                         &lt;/block&gt;
                       &lt;/value&gt;
                     &lt;/block&gt;
                   &lt;/value&gt;
                   &lt;value name="ARG1"&gt;
                     &lt;block type="convert_from_date" id="9L7z4]D2B2WCv^AqY{!9"&gt;
                       &lt;mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"&gt;&lt;/mutation&gt;
                       &lt;field name="OPTION"&gt;object&lt;/field&gt;
                       &lt;value name="VALUE"&gt;
                         &lt;block type="on_source" id="`BE)/o;Wp;vh3a0Z;6R*"&gt;
                           &lt;field name="ATTR"&gt;state.val&lt;/field&gt;
                         &lt;/block&gt;
                       &lt;/value&gt;
                     &lt;/block&gt;
                   &lt;/value&gt;
                 &lt;/block&gt;
               &lt;/value&gt;
               &lt;next&gt;
                 &lt;block type="control" id="CbU8FbOqTDu+O(:B[c)%"&gt;
                   &lt;mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"&gt;&lt;/mutation&gt;
                   &lt;field name="OID"&gt;0_userdata.0.CONTROL-OWN.AAATEST.TestString3&lt;/field&gt;
                   &lt;field name="WITH_DELAY"&gt;FALSE&lt;/field&gt;
                   &lt;value name="VALUE"&gt;
                     &lt;block type="procedures_callcustomreturn" id="#`I?8wI^M4V/dwdV-A,D"&gt;
                       &lt;mutation name="etwas tun"&gt;
                         &lt;arg name="anfang"&gt;&lt;/arg&gt;
                         &lt;arg name="ende"&gt;&lt;/arg&gt;
                       &lt;/mutation&gt;
                       &lt;value name="ARG0"&gt;
                         &lt;block type="convert_from_date" id="wD|gt#V?hIXj;{`MUF3i"&gt;
                           &lt;mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"&gt;&lt;/mutation&gt;
                           &lt;field name="OPTION"&gt;object&lt;/field&gt;
                           &lt;value name="VALUE"&gt;
                             &lt;block type="get_value" id="A~F#$?PxLG+HpphC5`A-"&gt;
                               &lt;field name="ATTR"&gt;val&lt;/field&gt;
                               &lt;field name="OID"&gt;0_userdata.0.CONTROL-OWN.AAATEST.TestString6&lt;/field&gt;
                             &lt;/block&gt;
                           &lt;/value&gt;
                         &lt;/block&gt;
                       &lt;/value&gt;
                       &lt;value name="ARG1"&gt;
                         &lt;block type="convert_from_date" id="5DBQu.ZwV7%V#`jFuPWB"&gt;
                           &lt;mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"&gt;&lt;/mutation&gt;
                           &lt;field name="OPTION"&gt;object&lt;/field&gt;
                           &lt;value name="VALUE"&gt;
                             &lt;block type="on_source" id="NlO!y73)hK9%hFw$h%/M"&gt;
                               &lt;field name="ATTR"&gt;state.val&lt;/field&gt;
                             &lt;/block&gt;
                           &lt;/value&gt;
                         &lt;/block&gt;
                       &lt;/value&gt;
                     &lt;/block&gt;
                   &lt;/value&gt;
                 &lt;/block&gt;
               &lt;/next&gt;
             &lt;/block&gt;
           &lt;/next&gt;
         &lt;/block&gt;
       &lt;/next&gt;
     &lt;/block&gt;
   &lt;/statement&gt;
 &lt;/block&gt;
 &lt;block type="procedures_defcustomreturn" id="/Z*)Q8Cqq?T+;djiZ(=N" x="312" y="-88"&gt;
   &lt;mutation statements="false"&gt;
     &lt;arg name="anfang" varid="y6D2J,D7lSl{^3XEUHi3"&gt;&lt;/arg&gt;
     &lt;arg name="ende" varid="f%!ae_J1jypo0[l@tZ})"&gt;&lt;/arg&gt;
   &lt;/mutation&gt;
   &lt;field name="NAME"&gt;etwas tun&lt;/field&gt;
   &lt;field name="SCRIPT"&gt;DQoNCg0KDQoNCiANCg0KIA0KDQoNCmxldCBkZGQ9IGVuZGUtYW5mYW5nDQoNCg0KDQoNCg0KLy9sb2coTWF0aC5mbG9vcigoZGRkKS8xMDAwLzYwLzYwLzI0KSsiZCAiK01hdGguZmxvb3IoKGRkZCkvMTAwMC82MC82MCAlMjQpKyJoICIrTWF0aC5mbG9vcigoZGRkKS8xMDAwLzYwICU2MCkrIm1pbiIpDQpsZXQgcmF1cz1NYXRoLmZsb29yKChkZGQpLzEwMDAvNjAvNjAvMjQpKyJkICIrTWF0aC5mbG9vcigoZGRkKS8xMDAwLzYwLzYwICUyNCkrImggIitNYXRoLmZsb29yKChkZGQpLzEwMDAvNjAgJTYwKSsibWluIg0KbG9nKHJhdXMpDQoNCnJldHVybiByYXVzOw==&lt;/field&gt;
   &lt;comment pinned="false" h="80" w="160"&gt;Beschreibe diese Funktion …&lt;/comment&gt;
 &lt;/block&gt;
&lt;/xml&gt;
</code></pre>
<p dir="auto"></p></section></section><p></p>
]]></description><link>https://forum.iobroker.net/post/794138</link><guid isPermaLink="true">https://forum.iobroker.net/post/794138</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Fri, 22 Apr 2022 12:57:53 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Datums picker on Fri, 22 Apr 2022 12:25:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/liv-in-sky" aria-label="Profile: liv-in-sky">@<bdi>liv-in-sky</bdi></a></p>
<p dir="auto">wie bekommst Du denn die Ausgabe im untere fed (mit den 8d) hin ?<br />
ICh habe dazu zwar ein Blockly geschrieben aber das habe ich nur mit dem Format MM/TT/JJJJ lösen können ?</p>
<p dir="auto">Andreas</p>
]]></description><link>https://forum.iobroker.net/post/794123</link><guid isPermaLink="true">https://forum.iobroker.net/post/794123</guid><dc:creator><![CDATA[RandyAndy]]></dc:creator><pubDate>Fri, 22 Apr 2022 12:25:21 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Datums picker on Fri, 22 Apr 2022 07:25:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/randyandy" aria-label="Profile: randyandy">@<bdi>randyandy</bdi></a></p>
<p dir="auto">ich weiß nicht, was du machen willst - mit einem blockly geht z.b das - ist nicht perfekt, aber zur demo ist es genug</p>
<p dir="auto"><img src="/assets/uploads/files/1650612266040-postit-dp-30.gif" alt="postit-dp (30).gif" class=" img-fluid img-markdown" /></p>
<p dir="auto">was genau willst du haben ?</p>
]]></description><link>https://forum.iobroker.net/post/793895</link><guid isPermaLink="true">https://forum.iobroker.net/post/793895</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Fri, 22 Apr 2022 07:25:30 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Datums picker on Thu, 21 Apr 2022 18:37:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/liv-in-sky" aria-label="Profile: liv-in-sky">@<bdi>liv-in-sky</bdi></a></p>
<p dir="auto">schön wäre es wenn es so einfach gewesen wäre.<br />
ICh habe folgende Anwendung:<br />
ich habe ein</p>
<ul>
<li>Anfangsdatum und ein</li>
<li>Enddatum<br />
Ich muss zwischen beiden die Anzahl der Tage ermitteln um damit Berechnungen zu erstellen<br />
Das habe ich auch geschafft und das funktioniert. Leider verlangt aber das System folgendes Format MM/TT/JJJJ (scheint das Standard-Format unter Node-JS zu sein).<br />
Wenn ich nun aber das Widget nehme erzeuge ich immer ein Format TT-MM-JJJJ. Das wird dann auch in den Datenpunkt so reingeschrieben. EIgentlich benötige ich das aber so gar nicht. Ich möchte das Datum eigentlich nur über den Date-Picker auswählen und dann übergeben. Kann man das evt. über CSS einstellen welches format ausgegeben wird ?</li>
</ul>
<p dir="auto">Andreas</p>
]]></description><link>https://forum.iobroker.net/post/793755</link><guid isPermaLink="true">https://forum.iobroker.net/post/793755</guid><dc:creator><![CDATA[RandyAndy]]></dc:creator><pubDate>Thu, 21 Apr 2022 18:37:16 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Datums picker on Thu, 14 Apr 2022 08:21:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/liv-in-sky" aria-label="Profile: liv-in-sky">@<bdi>liv-in-sky</bdi></a></p>
<p dir="auto">so einfach das wäre ja wunderbar. Das baue ich gleich heute Abend ein</p>
]]></description><link>https://forum.iobroker.net/post/790822</link><guid isPermaLink="true">https://forum.iobroker.net/post/790822</guid><dc:creator><![CDATA[RandyAndy]]></dc:creator><pubDate>Thu, 14 Apr 2022 08:21:11 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Datums picker on Wed, 13 Apr 2022 08:24:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/randyandy" aria-label="Profile: randyandy">@<bdi>randyandy</bdi></a></p>
<p dir="auto"><img src="/assets/uploads/files/1649838224838-image-001.png" alt="Image 001.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/790541</link><guid isPermaLink="true">https://forum.iobroker.net/post/790541</guid><dc:creator><![CDATA[liv-in-sky]]></dc:creator><pubDate>Wed, 13 Apr 2022 08:24:11 GMT</pubDate></item></channel></rss>