showTimeDomainsFormat: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
; showTimeDomainsFormat [<time format>]
; 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:


:{|border="1" cellpadding="2" cellspacing="1"  
:{| class="wikitable" border="1" cellspacing="0"
|- style=background-color:#F9F9F9;
|-
!Character
!Character
!Description
!Description
|-
|-
|align=center|H
|H
|Hour.
|Hour.
|-
|-
|align=center|M
|M
|Minutes.
|Minutes.
|-
|-
|align=center|S
|S
|Seconds.
|Seconds.
|-
|-
|align=center|y
|y
|Year.
|Year.
|-
|-
|align=center|m
|m
|Month.
|Month.
|-
|-
|align=center|d
|d
|Day.
|Day.
|}
|}


 
== Examples ==
''' Example '''
The following example may print connection messages with a preppended timestamp such as [11:23:49 15/08/2005].
*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:Log]]
[[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]