CaRP Evolution Documentation
CaRP Evolution Documentation
twitter youtube linkedin google-plus
CaRP Evolution Box
Web This Site

CaRP: Caching RSS Parser - Documentation

CaRP Interactive FAQ
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates

Channel Date

Displaying the Channel Date
To display the channel date, include the word "date" in your cborder or caorder setting. For example:
Display formatting options

CarpConf('bcdate','<i>Last updated on ');
CarpConf('acdate','</i><br />');
CarpConf('cdateformat','j M Y');
The above code would format the channel date as follows, after subtracting one hour (60 minutes) from the timestamp (which will only matter in this case during the first hour of the day):
Last updated on 12 Sep 2004
Note that the time could also be displayed, depending on the cdateformat setting.