I don't see any reference to it in the template nodes so I'm guessing not, but I was hoping to have both an authored date (for the original post) and a 'last updated' note to show if it's been changed since.

 

Accepted answer

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.)

 

Comments

oadaeh's picture

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.)

 

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.

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("F j, Y", $updateddate);            
            ?>

(Change the date format however you'd like.)

It is also available (I'm 90% sure) in the tokens for the content type's display settings, so you could also potentially update the default "Author/date format"  from this:

[node:created:medium] by [node:author]

To be something like this:

[node:created:medium] by [node:author] (Modified: [node:changed:medium])