Timeline for Integer field with unix timestamp convert to readable date in views
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 24, 2013 at 8:09 | comment | added | penten |
In your view-view-field--fieldname.tpl.php file the $output variable should hold the timestamp, if so you can just pass $output to the date function: <?php print date("M jS, Y", $output); ?>
|
|
Jan 24, 2013 at 7:34 | review | First posts | |||
Jan 24, 2013 at 8:13 | |||||
Jan 24, 2013 at 7:19 | comment | added | joe | How would I wrap the views field output (<?php print $output; ?>) in that? | |
Jan 24, 2013 at 7:17 | history | answered | penten | CC BY-SA 3.0 |