 <p>Here is what I would do: I would write a static function for formatting your dates (either using my own class or extending Kohana <code>Date</code> class). I would use this function in your view directly:</p> <pre><code>&lt;?php echo SomeClass::date_format($result-&gt;time_start, $result-&gt;time_finished) ?&gt; </code></pre> <p>Why in the view? Because the function is used for formatting, it doesn't actually return different data set.</p>