Searched refs:SECONDS_PER_WEEK (Results 1 – 1 of 1) sorted by relevance
16 const SECONDS_PER_WEEK = 604800; define in helper_plugin_relativetimehelper69 $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…