ProcessWire
Recipes_

Get unformatted field values

Problem

You need to return a field value unformatted in order to format it individually later.

Solution

You can access the naked field value with the getUnformatted method like so:

<?php echo date("F j, Y, g:i a", $page->getUnformatted("a_date_field")); ?>

Resources

Version: 1.0.1
Added/Updated: 2015-01-17
Authors: SiNNuT, marcus