showTimeDomainsFormat: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
; showTimeDomainsFormat | ; showTimeDomainsFormat <time format> | ||
: Specifies a time format to customize how Kore displays the timestamp. The '''<time format>''' is simply a string that will be used as a pattern when the timestamp is displayed. The following characters can be used in the time format and will be replaced by corresponding time elements: | : Specifies a time format to customize how Kore displays the timestamp. The '''<time format>''' is simply a string that will be used as a pattern when the timestamp is displayed. The following characters can be used in the time format and will be replaced by corresponding time elements: | ||
:{| | :{| class="wikitable" border="1" cellspacing="0" | ||
|- | |- | ||
!Character | !Character | ||
!Description | !Description | ||
|- | |- | ||
|H | |||
|Hour. | |Hour. | ||
|- | |- | ||
|M | |||
|Minutes. | |Minutes. | ||
|- | |- | ||
|S | |||
|Seconds. | |Seconds. | ||
|- | |- | ||
|y | |||
|Year. | |Year. | ||
|- | |- | ||
|m | |||
|Month. | |Month. | ||
|- | |- | ||
|d | |||
|Day. | |Day. | ||
|} | |} | ||
== Examples == | |||
The following example may print connection messages with a preppended timestamp such as [11:23:49 15/08/2005]. | |||
showTimeDomains connection | showTimeDomains connection | ||
Line 34: | Line 33: | ||
[[Category:config.txt]] | [[Category:config.txt]] | ||
[[Category: | [[Category:log]] | ||
Latest revision as of 01:49, 27 April 2021
- showTimeDomainsFormat
- Specifies a time format to customize how Kore displays the timestamp. The is simply a string that will be used as a pattern when the timestamp is displayed. The following characters can be used in the time format and will be replaced by corresponding time elements:
Character Description H Hour. M Minutes. S Seconds. y Year. m Month. d Day.
Examples
The following example may print connection messages with a preppended timestamp such as [11:23:49 15/08/2005].
showTimeDomains connection showTimeDomainsFormat [H:M:S d/m/y]