[pmwiki-users] calculation with time
Patrick R. Michaud
pmichaud at pobox.com
Thu Jun 5 15:58:45 CDT 2008
On Thu, Jun 05, 2008 at 12:03:53PM +0200, noskule wrote:
> $MarkupExpr['timefmt'] = 'ShowTimeFmt($args[0])';
> function ShowTimeFmt($unixtime) {
> $timefmt = strftime($GLOBALS['TimeFmt'],$unixtime);
> return $timefmt;
> }
>
> Does you know of a function that can translate date/time back to unixtime?
PmWiki offers the DRange() function, which converts a variety of date/time
formats into unix time values.
Pm
More information about the pmwiki-users
mailing list