Plugin Countdown
This wiki plugin displays a countdown to a future date from a date in the past, together with default or custom text if desired.
See also: PluginCountup
Parameters
Examples
1. This code, Copy to clipboard
|
|
Would produce: the project is done! is over |
2. This code, Copy to clipboard
|
|
Would produce: the project is done! is over |
3. This code, Copy to clipboard
|
|
Would produce: the project is done! is over |
Note for above example Uses caldays to count calendar days even if less than 24 hours away | ||
4. This code, Copy to clipboard
|
|
Would produce: the project start date has passed |
Note for above example Show custom text instead of time elapsed for a date in the past. | ||
5. This code, Copy to clipboard
|
|
Would produce: 14 years, 11 months, 2 days, 20 hours, 55 minutes and 57 seconds since the project start date |
Note for above example Show time elapsed since a date in the past down to the second |
If you want to automatically refresh the page every 60 seconds you could either use this code:
{HTML()}<meta http-equiv="refresh" content="60">{HTML}
or get a JavaScript or jQuery plugin to get this done, maybe an Ajax call for the plugin .... if you find a better method than above, please feel free to document here.