NEWS
Countdown
-
Wie bekomme ich es hin, das mit von Datum heute bis Datum x die Resttage angezeigt werden, also in einen Datenpunkt geschrieben werden?
@Matze1976 eventuell hilft dieser Thread weiter
oder du wirst hier vllt fündigumgestiegen von Proxmox auf Unraid
-
Wie bekomme ich es hin, das mit von Datum heute bis Datum x die Resttage angezeigt werden, also in einen Datenpunkt geschrieben werden?
@Matze1976 sagte:
von Datum heute bis Datum x die Resttage angezeigt werden
Wenn das künftige Datum im Format DD.MM.JJJJ vorliegt, muss zum Wandeln zuerst die Reihenfolge getauscht werden. Bei umgekehrter Reihenfolge JJJJ.MM.DD ist es nicht erforderlich.

Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs -
@Matze1976 sagte:
von Datum heute bis Datum x die Resttage angezeigt werden
Wenn das künftige Datum im Format DD.MM.JJJJ vorliegt, muss zum Wandeln zuerst die Reihenfolge getauscht werden. Bei umgekehrter Reihenfolge JJJJ.MM.DD ist es nicht erforderlich.

-
@Matze1976 sagte in Countdown:
könntest du mir den Blockly Code rein setzen?
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="QH)a+q+/HjBMpJitoK=X">datum</variable> </variables> <block type="comment" id="-8Q#8O{5;,7Y..MP%hLW" x="-37" y="-262"> <field name="COMMENT">Format: DD.MM.YYYY</field> <next> <block type="variables_set" id=";Y0.4)M3k/vxOsmby4Xy"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> <value name="VALUE"> <block type="lists_split" id="4/QFHo_G:.MJ$;X`{P4]"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="text" id="w0u;nXdc[wmh/,M~36ba"> <field name="TEXT">24.05.2020</field> </block> </value> <value name="DELIM"> <shadow type="text" id="coS;jKZv/}Em3,.g7SZ%"> <field name="TEXT">.</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="[Xk9h=jzG6]]`1J%a*Zi"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> <value name="VALUE"> <block type="text_join" id="BGr[z#v-,wmRX#B{xJ*V"> <mutation items="5"></mutation> <value name="ADD0"> <block type="lists_getIndex" id="Vo~,]~vZ7fpVss=(VU#D"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="u)1:1G_LwMi^%[8!`@h+"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> </block> </value> <value name="AT"> <block type="math_number" id="z:EgV_3fzMliqDv*d7@t"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="v{.rg`EP3]-z+KK$!O={"> <field name="TEXT">-</field> </block> </value> <value name="ADD2"> <block type="lists_getIndex" id=",Ed,A}`TT}uj~r@%~$1C"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="bls)qffc}OI}{r26Q0uf"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> </block> </value> <value name="AT"> <block type="math_number" id="G+6]tXOQv{Og^aZUNv^N"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id="RGkfv;U1)Y4orfJNVYNp"> <field name="TEXT">-</field> </block> </value> <value name="ADD4"> <block type="lists_getIndex" id="DWU@g%Rq!{1upsYsOS{y"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="]p7OC{g_Yk4onB%1z88V"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> </block> </value> <value name="AT"> <block type="math_number" id="Vygz5c#iO~S92Po(c%FZ"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="/d+qy!+$iX:eyI4$T)Ex" inline="false"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Object ID</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_round" id="Pz!QIVb1LT.zhltW_5VZ"> <field name="OP">ROUNDUP</field> <value name="NUM"> <shadow type="math_number" id="C.)jzzX:9UgS!rP9PEiV"> <field name="NUM">3.1</field> </shadow> <block type="math_arithmetic" id="%cE,S^(^k:R]vKsm0I1Q" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="~wZr;xu/(qG,sIE6])U@"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="=r_26i!LgMnIt17eE5jd" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="EEGOvL@^jbcJG[g@XU-j"> <field name="NUM">1</field> </shadow> <block type="convert_from_date" id="*A^s]8q=h8~f5TXo0cE;"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> <value name="VALUE"> <block type="variables_get" id="U1A!~okJ{ywBDd:POkS["> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="pM/9zf_[9r^pv:mkU|7B"> <field name="NUM">1</field> </shadow> <block type="time_get" id="p{4)88UXm0g}T[Ycx1#E"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="F]F|#O)y~8]6zPT`P*]D"> <field name="NUM">86400000</field> </shadow> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </xml>Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs -
@Matze1976 sagte in Countdown:
könntest du mir den Blockly Code rein setzen?
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="QH)a+q+/HjBMpJitoK=X">datum</variable> </variables> <block type="comment" id="-8Q#8O{5;,7Y..MP%hLW" x="-37" y="-262"> <field name="COMMENT">Format: DD.MM.YYYY</field> <next> <block type="variables_set" id=";Y0.4)M3k/vxOsmby4Xy"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> <value name="VALUE"> <block type="lists_split" id="4/QFHo_G:.MJ$;X`{P4]"> <mutation mode="SPLIT"></mutation> <field name="MODE">SPLIT</field> <value name="INPUT"> <block type="text" id="w0u;nXdc[wmh/,M~36ba"> <field name="TEXT">24.05.2020</field> </block> </value> <value name="DELIM"> <shadow type="text" id="coS;jKZv/}Em3,.g7SZ%"> <field name="TEXT">.</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="[Xk9h=jzG6]]`1J%a*Zi"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> <value name="VALUE"> <block type="text_join" id="BGr[z#v-,wmRX#B{xJ*V"> <mutation items="5"></mutation> <value name="ADD0"> <block type="lists_getIndex" id="Vo~,]~vZ7fpVss=(VU#D"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="u)1:1G_LwMi^%[8!`@h+"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> </block> </value> <value name="AT"> <block type="math_number" id="z:EgV_3fzMliqDv*d7@t"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="v{.rg`EP3]-z+KK$!O={"> <field name="TEXT">-</field> </block> </value> <value name="ADD2"> <block type="lists_getIndex" id=",Ed,A}`TT}uj~r@%~$1C"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="bls)qffc}OI}{r26Q0uf"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> </block> </value> <value name="AT"> <block type="math_number" id="G+6]tXOQv{Og^aZUNv^N"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="ADD3"> <block type="text" id="RGkfv;U1)Y4orfJNVYNp"> <field name="TEXT">-</field> </block> </value> <value name="ADD4"> <block type="lists_getIndex" id="DWU@g%Rq!{1upsYsOS{y"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="]p7OC{g_Yk4onB%1z88V"> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> </block> </value> <value name="AT"> <block type="math_number" id="Vygz5c#iO~S92Po(c%FZ"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="/d+qy!+$iX:eyI4$T)Ex" inline="false"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Object ID</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_round" id="Pz!QIVb1LT.zhltW_5VZ"> <field name="OP">ROUNDUP</field> <value name="NUM"> <shadow type="math_number" id="C.)jzzX:9UgS!rP9PEiV"> <field name="NUM">3.1</field> </shadow> <block type="math_arithmetic" id="%cE,S^(^k:R]vKsm0I1Q" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="~wZr;xu/(qG,sIE6])U@"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="=r_26i!LgMnIt17eE5jd" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="EEGOvL@^jbcJG[g@XU-j"> <field name="NUM">1</field> </shadow> <block type="convert_from_date" id="*A^s]8q=h8~f5TXo0cE;"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> <value name="VALUE"> <block type="variables_get" id="U1A!~okJ{ywBDd:POkS["> <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="pM/9zf_[9r^pv:mkU|7B"> <field name="NUM">1</field> </shadow> <block type="time_get" id="p{4)88UXm0g}T[Ycx1#E"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">object</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="F]F|#O)y~8]6zPT`P*]D"> <field name="NUM">86400000</field> </shadow> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </xml>