Display Last Updated Date
6 posts by 4 authors in: Forums > CMS Builder
Last Post: August 13, 2010 (RSS)
By (Deleted User) - August 12, 2010
This is my code:
<p>Last Updated on: <?php echo $minyanRecord['updatedDate'] ?></p>
Re: [RapidWeb] Display Last Updated Date
By Chris - August 12, 2010
I'm not sure what you want. Is that not working for you?
Chris
Re: [RapidWeb] Display Last Updated Date
I would think that would work on a detail page,
On a list page
<p>Last Updated on: <?php echo $record['updatedDate'] ?></p>
inside your foreach loop should display the last updated date for each record._______________________
If formatting is the issue, then, to display M D, Y use:
<?php echo date("M jS, Y", strtotime($minyanRecord['updatedDate'])) ?>
or <?php echo date("M jS, Y", strtotime($record['updatedDate'])) ?>
There are many more ways to format and use dates described in the "WORKING WITH DATES" section of my CMSB Cookbook http://www.thecmsbcookbook.com
Hope that helps you.
Jerry Kornbluth
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [chris] Display Last Updated Date
By (Deleted User) - August 13, 2010
Re: [RapidWeb] Display Last Updated Date
By (Deleted User) - August 13, 2010
http://www.koshertravelinfo.com/minyan/minyan.php?Congregation-Ezrath-Israel-373
You can see it in the bottom of the page "was Last Updated on: Aug 13th, 2010".
Re: [RapidWeb] Display Last Updated Date
By Donna - August 13, 2010
--
support@interactivetools.com