Perfect! Thanks to the both of you.
For anyone in the future you can print it out in a node template with:
<?php
$updateddate=$node->changed;
echo gmdate("...
There is a "changed" database column on nodes, and that should be available to a Node object. And also in Views there is a "Last updated" field. So, yes.
The field you're looking for is called "changed" in both the database and the node, i.e., $node->changed.
You might have to add it whereever you need it (template, layout, etc.)
Posted12 min 16 sec ago by Jason Flatt (oadaeh) on:
Recent comments
Perfect! Thanks to the both of you. For anyone in the future you can print it out in a node template with: <?php $updateddate=$node->changed; echo gmdate("...
Is there a 'last updated' record stored that can be shown on nodes?
There is a "changed" database column on nodes, and that should be available to a Node object. And also in Views there is a "Last updated" field. So, yes.
Is there a 'last updated' record stored that can be shown on nodes?
The field you're looking for is called "changed" in both the database and the node, i.e., $node->changed. You might have to add it whereever you need it (template, layout, etc.)
Is there a 'last updated' record stored that can be shown on nodes?