It's better when it's simple

User Tools

Site Tools


sincetil Plugin

Compatible with DokuWiki

  • 2023-04-04 "Jack Jackrum" probably
  • 2022-07-31 "Igor" probably
  • 2020-07-29 "Hogfather" probably
  • 2018-04-22 "Greebo" yes

plugin Shows remaining time until or how long since a specified date and time

Last updated on

Tagged with date


Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.


You will probably want to avoid caching the page:


Then the date/time goes in a pair of <sincetil></sincetil> tags.

Then you just want the value in the form: yyyy-mm-dd hh:mm:ss

For example:

  • In the future
    • <sincetil>2023-05-07 13:00:10</sincetil>
    • <sincetil>2019-07-07 13:00:10</sincetil>
    • <sincetil>2019-05-13 13:00:10</sincetil>
    • <sincetil>2019-05-07 21:00:10</sincetil>
    • <sincetil>2019-05-07 11:50:10</sincetil>
    • <sincetil>2019-05-07 11:08:59</sincetil>
  • In the past
    • <sincetil>2016-05-05 13:00:10</sincetil>
    • <sincetil>2019-01-05 13:00:10</sincetil>
    • <sincetil>2019-05-01 13:00:10</sincetil>
    • <sincetil>2019-05-07 09:00:10</sincetil>
    • <sincetil>2019-05-07 11:00:10</sincetil>
    • <sincetil>2019-05-07 11:08:01</sincetil>

Change Log

  • 2019-05-06
    • Initial release


Please bear in mind that this is my second attempt at a plugin. I can see a few places that I've not done things optimally and will continue to improve it. I'd welcome any constructive criticism.

plugin/sincetil.txt · Last modified: 2019-05-07 12:27 by pigzag

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki