Home
last modified time | relevance | path

Searched refs:SECONDS_PER_WEEK (Results 1 – 1 of 1) sorted by relevance

/plugin/relativetimehelper/
H A Dhelper.php16 const SECONDS_PER_WEEK = 604800; define in helper_plugin_relativetimehelper
69 $days = ($timediff % $this::SECONDS_PER_WEEK) / $this::SECONDS_PER_DAY;;
76 $timediff -= $timediff % $this::SECONDS_PER_WEEK;
81 …$weeks = $timediff / $this::SECONDS_PER_WEEK; // todo extend to cover months and years by date-cal…