2011-04-24, 17:04:17
polyfragmented Wrote:How do I get a page's last modification date analogous to a page's creation date?
I saw that last mod date is used in the backend, but I was unable to find the function. Sight's getting kind of blurry at this time of the night. Maybe someone can help me out?
On the front end to get the current page's last modification date: get_page_date(...)
With the I18N Customfields plugin to get the creation date: get_page_creation_date(...)
In the xml page files as strings: pubDate and creDate
Convert them to Unix time stamps: strtotime(...)
Format a Unix time stamp locale specific: setLocale(...); strftime(...)