GetSimple Support Forum
[SOLVED] - Command for date of pg last update - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Scripts & Components (http://get-simple.info/forums/forumdisplay.php?fid=11)
+--- Thread: [SOLVED] - Command for date of pg last update (/showthread.php?tid=7809)



[SOLVED] - Command for date of pg last update - jwzumwalt - 2016-01-03

Is there a command so that I can do a "revised on xxxx" based on when the page was last edited?


RE: Command for date of pg last update - DimaYakovlev - 2016-01-03

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


RE: Command for date of pg last update - jwzumwalt - 2016-01-03

(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!