{{indexmenu_n>20}} ====== Date: Enhanced ====== **RT to create your own output of the date, independently of the system-TAGs. [[http://www.phpwcms-docu.de/system_tags.phtml|Date TAGs]].** E.g. a solution to set the current copyright date //(year)// automatically. The output format of the date is set directly in the script. Used for the output the standard php-date rules, see [[http://www.php.net/manual/en/function.date.php|PHP: date - Manual]] \\ ---- **rt_date_enhancedX** V1.0 09.08.2011 Docu: -- \\ Forum: --\\ **Author:** K.Heermann (flip-flop) http://planmatrix.de \\ **CMS Version:** >= 1.3 \\ **Version:** V1.0 \\ TAG: **{DATEX_xxx}**, e.g. **{DATEX_YEAR}** \\ Filename: **rt_date_enhancedX.php** Folder: ** template/inc_script/frontend_render/ ** **Condition:** -> [[http://www.phpwcms-docu.de/conf_inc_php_en.phtml|/config/phpwcms/conf.inc.php]] \\ * ##$phpwcms['allow_ext_render'] = 1;## ---- ---- \\ ===== Description: ===== This example shows the TAGs for the output of the current-year, month and day. Settings in the replacer lines: * **E.g.** * - {DATEX_YEAR} = 'Y' -- Returns the year * - {DATEX_MONTH} = 'm' -- Returns the month formated in double-digit numeric * - {DATEX_DAY} = 'd' -- Returns the day formted in double-digit numeric You can install separate TAGs with other substitutions. \\ ===== Script: ===== Filename: rt_date_enhancedX.php \\ Folder: template/inc_script/frontend_render/ \\