GetSimple Support Forum

Full Version: [SOLVED] - Command for date of pg last update
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a command so that I can do a "revised on xxxx" based on when the page was last edited?
(2016-01-03, 14:34:07)jwzumwalt Wrote: [ -> ]Is there a command so that I can do a "revised on xxxx" based on when the page was last edited?

Use this code:
Code:
<p>revised on <?php get_page_date("l, F jS, Y - g:i A"); ?></p>
Format date as you need.
(2016-01-03, 15:07:36)DimaYakovlev Wrote: [ -> ]
(2016-01-03, 14:34:07)jwzumwalt Wrote: [ -> ]Is there a command so that I can do a "revised on xxxx" based on when the page was last edited?

Use this code:

Code:
<p>revised on <?php get_page_date("l, F jS, Y - g:i A"); ?></p>
Format date as you need.

Thanks, that worked!