showTimeDomainsFormat: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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="TablePager"
|- 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

Revision as of 13:30, 16 August 2012

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]