• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Countdown display clock

    How To... ?
    clock time actors countdown javascript
    4
    11
    6409
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Bill Cottman
      Bill Cottman last edited by Woland

      I am looking for a user actor or izzy patch that will display a live countdown of the years, months, days, hours, minutes & seconds between May 20, 2017 at 2pm and the next US presidential election day(Nov 8, 2020 at 8pm). 

      http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

      Michel 4 Replies Last reply Reply Quote 0
      • dbini
        dbini last edited by

        ...with an override facility should the present POTUS have to stand down for some reason? ;)

        John Collingswood
        taikabox.com
        2019 MBPT 2.6GHZ i7 OSX15.3.2 16GB
        plus an old iMac and assorted Mac Minis for installations

        1 Reply Last reply Reply Quote 0
        • Michel
          Michel Izzy Guru @Bill Cottman last edited by

          @vanderzee 

          I guess javascript would be the best way to go, but I am not a JS expert. Using standard Isadora actors for this long time period would be a pain, because months have 28, 30 or 31 days and in 2020 February has 29 days.

          Best Michel 

          Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

          1 Reply Last reply Reply Quote 0
          • dbini
            dbini last edited by

            you could syphon this: https://www.timeanddate.com/co...

            John Collingswood
            taikabox.com
            2019 MBPT 2.6GHZ i7 OSX15.3.2 16GB
            plus an old iMac and assorted Mac Minis for installations

            1 Reply Last reply Reply Quote 0
            • Michel
              Michel Izzy Guru @Bill Cottman last edited by

              @vanderzee

              I may be able to do it in JavaScript, its my first time using it and it's a perfect project for learning. I already have days, hours, minutes and seconds output. So give me some time :-).

              Best Michel

              Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

              1 Reply Last reply Reply Quote 1
              • Michel
                Michel Izzy Guru @Bill Cottman last edited by Michel

                @vanderzee 

                you are saying Nov 8, 2020 at 8pm. I guess you mean Nov 3. Right?

                One tricky thing: the accuracy is depending on your destinations time. If you are googling count down us election 2020 the timers differ by a few hours. So I need to know how much your time zone is off the Washington DC timezone.

                Best Michel

                Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

                1 Reply Last reply Reply Quote 0
                • Michel
                  Michel Izzy Guru @Bill Cottman last edited by

                  @vanderzee

                  Ok hier is the first version with only days, hours, minutes and seconds.
                  US election CountdownV1.izz

                  Best Michel

                  Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

                  1 Reply Last reply Reply Quote 1
                  • Bill Cottman
                    Bill Cottman last edited by

                    @Michel - Sounds like you are more expert at JS than you realize! Thanks for working on this.

                    http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

                    1 Reply Last reply Reply Quote 0
                    • Bill Cottman
                      Bill Cottman last edited by

                      @Michel - Thanks. Just looked at the patch. Perfect. I can figure out how to tweak the formatting to fit my projection.

                      http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

                      1 Reply Last reply Reply Quote 0
                      • Maximortal
                        Maximortal last edited by Maximortal

                        nice patch...It's seems to be perfect (I think difference is due to different time zone)

                        but so sad to see such a big amount of time  ;-)

                        Iro Suraci | Win 10 - Ryzen 3600 - 32GB - nVidia gtx 960 4gb / Win 10 - i5 4210U - 8 GB - R5 M230 | Isadora 3.0.7| Located in Brescia, Italy

                        Michel 1 Reply Last reply Reply Quote 0
                        • Michel
                          Michel Izzy Guru @Maximortal last edited by

                          @Maximortal

                          Yes the difference sure is the time zone. The JavaScript code takes your system time and compares it with the future time, so the result will always be the date and time of your current destination. To compensate you have to add or subtract the offset hours to the country or timezone you want to have.

                          Even if you compare different online counters for that election date they often show different values. Some code takes the time of the server location, other take your system time and other have fixed the time for that certain timezone they want the countdown for.

                          Best Michel

                          Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

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