In several places (forum, private messages, last revision date, etc.) Wikidot pages use dates and timestamps that automatically calculate (either when hovering with the mouse or directly in the text) how long ago this was. Examples are
If you want dates that you type on your pages to also automatically show "how long ago'', here is how you can do it.
The syntax needed is:
[[date timestamp <format="format<|agohover>">]]
where
To find out what code you should use on your page for a specific date:
Then copy/paste the displayed code into your page.
What you type … | What you get … |
[[date 1216153821]] | 15 Jul 2008 20:30 |
[[date 1216153821 format="%d. %m. %Y|agohover"]] | 15 Jul 2008 20:30 |
[[date 681746400 format="James is %O young"]] | 09 Aug 1991 14:00 |
+++ Minutes from [[date 1234567890 format="%e %B|agohover"]] |
Minutes from 13 Feb 2009 23:31 |
Note: You can use %O also with the future dates as well.
Author
created by ErichSteinboeck