Fork me on GitHub Open Source

Documentation

The Support Links

Have you turned on error reporting?

The Community Links

Knowledgebase
Commentics > Support > Knowledgebase

Ask a question:


How do I change the time and date?

Solution The time and date shown for each comment can be customized in Layout -> Comments -> General.

To gain an understanding of what you can enter, take a look at the reference link below. You will find a list of letters, some capital and some not, but all of which correspond to a specific way of formatting. You can put these letters together in order to build a complete display of the time/date.

The default setting for the time format is 'g:ia', which outputs 10:43pm. To change this to the 24hr format (22:43), you would replace it with 'G:i'.

For the date field the default setting is 'jS F Y', and this outputs 23rd January 2011. In the same way as above, you could customize this to display 23-01-11 by entering 'd-m-y'.

Reference:
http://php.net/manual/en/function.date.php
 
Was this article helpful? yes / no
Article details
Article ID: 20
Category: Settings
Date added: 2011-01-23 16:22:33
Views: 1000
Rating (Votes): Article rated 4.3/5.0 (11)

 
« Go back

 
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid