Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. (gelöst) Datumsformat in vis (Binding)

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED (gelöst) Datumsformat in vis (Binding)

    This topic has been deleted. Only users with topic management privileges can see it.
    • ice987
      ice987 last edited by ice987

      Hallo zusammen,

      ich möchte ein Datum in vis formatieren. Gemäss der Anweisung funktioniert das auch:

      {javascript.0.variables.dayTime.lc}: Zeit in ms
      {javascript.0.variables.dayTime.lc;date(DD.MM - hh:mm}: Zeit im Format DD.MM - hh:mm
      {javascript.0.variables.dayTime.lc;momentDate(DD.MM - hh:mm}: Zeit im Format DD.MM - hh:mm

      wie ist der entsprechende Syntax mit einer Variable? {wert1:javascript.0.variables.dayTime.lc;❓}

      OliverIO 1 Reply Last reply Reply Quote 0
      • OliverIO
        OliverIO @ice987 last edited by

        @ice987

        {wert:javascript.0.variables.dayTime.lc;vis.formatDate(parseInt(wert),"DD.MM - hh:mm")}
        
        ice987 1 Reply Last reply Reply Quote 2
        • ice987
          ice987 @OliverIO last edited by

          @oliverio

          Wunderbar, das funktioniert! Vielen Dank!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          714
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

          2
          3
          487
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo