Tag Item Issue Date
To give an example, here is a question from the forum:
Is there any way that I could add something so it shows as:
Day 331 of Week 48 Wednesday November, 28 2007
This is the answer:
Find your skin, crack open index.main.php, Find and replace something similar to this:
To understand this code: the \ escapes the character after it. I used it too often. Characters that are not escaped represent php’s Data / Time arguments. See Date Format for more information about date and time format.
Some skins have the date in an image / icon. To do that you can use multiple $Item->issue_date calls like so:
This is an example style:
You can also call issue_date variable which returns it as a string in a DateObject format and retrieve specific part of the date from it.
This is useful if you want to use the post item’s date for adding some programmable logic based on the date rather then just printing it out.
Created by • Last edit by on Nov 15, 2013
No feedback yet
Form is loading...