[Mediawiki-l] DateTime calculation?

Frederik Dohr fdg001 at gmx.net
Fri Aug 17 15:56:11 UTC 2007


> {{#expr:{{#time:U|{{CURRENTTIMESTAMP}}}}-{{#time:U|{{REVISIONTIMESTAMP}}}}}}
> 
> (I think, anyway, that's untested)

Thanks, Thomas.
However, it doesn't seem to work; I assume that's because the minus 
operator has trouble working with times!?


-- F.



More information about the MediaWiki-l mailing list