Custom Date Formats
Custom Date Formats
By Paul
May 14, 2006 (Edited Jan 30, 2014)
All template variables that display a date can accept a custom date format as a parameter. For example, if you have {LINKDATE} in a template but want to show it in a DD-MM-YY format you can use {LINKDATE[%d-%m-%y]}
The format is the strftime() format ( http://www.php.net/strftime ), the same as you use to specify the default date formats at Admin Panel -> Settings -> Localization.
By Paul
May 14, 2006 (Edited Jan 30, 2014)
The format is the strftime() format ( http://www.php.net/strftime ), the same as you use to specify the default date formats at Admin Panel -> Settings -> Localization.
Description | Specifying a date for applicable template variables. |
Rating | |
Views | 907 views. Averaging 0 views per day. |
Similar Listings |