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

EvolutionLEKoiSE
AllAll>=3.3n/a
Displaying the Channel Date
To display the channel date, include the word "date" in your cborder or caorder setting. For example:
CarpConf('cborder','link,date,desc');
Display formatting options

Example
CarpConf('bcdate','<i>Last updated on ');
CarpConf('acdate','</i><br />');
CarpConf('timeoffset',-60);
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.