December 10, 2019, 08:18:48 AM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://twitter.digitalsignage.com

MediaSignage support forum



Author Topic: Countdown timer reversed  (Read 2371 times)

gchambers

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Countdown timer reversed
« on: September 13, 2015, 11:16:45 PM »
Does anyone know how to use the countdown timer in reverse?  My project requires displaying the number of days since the last accident on the screen and the countdown component works the opposite way to show days counting backwards.  Is there a way to display the number of days since a particular date?
Thanks...

ANOOP

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 741
  • Karma: +23/-0
    • View Profile
Re: Countdown timer reversed
« Reply #1 on: September 14, 2015, 09:32:17 PM »
You could probably use a google sheet with calculations and display as HTML component

gchambers

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: Countdown timer reversed
« Reply #2 on: September 15, 2015, 08:04:01 AM »
hmmmm...never thought about doing that. So are you saying create the google sheet with the calculation, load it into google drive, and use the google drive component?  Not sure how you can use the html to point to the document...

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5011
  • Karma: +35/-8
    • View Profile
Re: Countdown timer reversed
« Reply #3 on: September 15, 2015, 03:10:34 PM »
you can also load a web page: http://hilios.github.io/jQuery.countdown/
using the HTML component, and simply update the page via an internal variable that you can update on the web site or externally.

ANOOP

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 741
  • Karma: +23/-0
    • View Profile
Re: Countdown timer reversed
« Reply #4 on: September 16, 2015, 04:25:27 AM »
Google drive i am not sure but you can use the google sheet the way you open in a browser

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines