[pmwiki-users] Time-Calculation within pmWiki
Dominique Faure
dominique.faure at gmail.com
Wed Jul 12 10:46:37 CDT 2006
On 7/12/06, Daniel Hofer <daho at borntofly.ch> wrote:
> Hello everybody
>
> crazy, I have again a special wish;-)
>
> My titles look like
> (:title {$Name:fdate '%d.%b %G'}, 12:30-13:00:)
>
> does anybody have a function which can calculate the time difference of
> 13:00 -
> 12:30 =
> -----
> 00:30
>
> in another page I have a list of all these pages, and wish to show the
> time difference.
>
Available in the the next version of PageVariableExtensions (amongst
small bug fixes):
(:set start='(=time "12:30")' end='(=time "13:00")' diff='{$end:-
<$start>:/ 60}' :)
{$diff} => 30
Regards,
Dom
More information about the pmwiki-users
mailing list