Print
Category: Article Details

Time

Information
Article Details

Shows a specific time in a specified format.

Requirements

None.
The configuration options Show Create Date, Show Modify Date and Show Publish Date are NOT taken into account.

Example

Time example

Language overrides

None.

Internationalization

To add text before the time in a multilingual environment, override the constant keys:

The format can also be different for each language. Override the constant key PLG_CONTENT_ARTICLEDETAILS_FORMAT_TIME and add a specific format as value.

For instance, set the key's value H:i, following the syntax documented at http://php.net/manual/en/function.date.php (this page can be seen in different languages. Change the en value in the url with your language code).