Plugin:HistoryPP/de/DatumUndZeitFormatierung: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageLang|de}}{{Untranslated}}'''DateTimeFormat''' <tt>STRING</tt> key is used to change date/time representation in history grid. You will need {{Plugin|DbEditorPP|Database Editor}} plugin to add/edit the key.
{{PageLang|de}}'''DateTimeFormat''' <tt>STRING</tt>-Schlüssel wird verwendet um die Datum/Zeitdarstellung im Verlauf zu ändern. Sie benötigen {{Plugin|DbEditorPP|Database Editor}} um diese Schlüssel hinzuzufügen/zu ändern.
 
 
== Simple examples ==
Example: ''January 2, 2006 3:05:44''
{| class="wikitable"
|-
! DateTimeFormat value !! Result !! Comment
|-
| c || 02/01/2006 3:05:44 || Date and time format is default system format
|-
| ddd, mmm d, yy || Mon, Jan 2, 06 ||
|-
| dd/mm/yyyy hh:nn:ss || 02/01/2006 03:05:44 ||
|-
| dddd, d of mmmm, yyyy || Monday, 2 of January, 2006 ||
|-
| hh:nn am/pm || 03:05 am || <tt>am/pm</tt> converts time to 12-hour format
|-
| h:n:s a/p || 3:5:44 a || <tt>a/p</tt> converts time to 12-hour format
|}


== Einfache Beispiele ==
Beispiel: ''2. Januar 2006, 3:05:44''
{{Content:HistoryPP/DateFormatting-Example}}


== Format ==
== Format ==
Here is the full list of variables with examples given for date and time ''January 2, 2006 3:05:44''
Hier ist eine vollständige Liste aller Variablen mit Beispielen für Tag und Zeit ''2. Januar 2006, 3:05:44'':
{| class="wikitable"
{{Content:HistoryPP/DateFormatting-Format}}
|-
! Value !! Meaning !! Example
|-
| y || Year last 2 digits || 06
|-
| yy || Year last 2 digits || 06
|-
| yyyy || Year as 4 digits || 2006
|-
| m || Month number without leading zero || 1
|-
| mm || Month number with leading zero || 01
|-
| mmm || Short month name || Jan
|-
| mmmm || Full month name || January
|-
| d || Day number without leading zero || 2
|-
| dd || Day number with leading zero || 02
|-
| ddd || Short day name || Mon
|-
| dddd || Full day name || Monday
|-
| ddddd || Date as short date format (system-dependent) || 02/01/2006
|-
| dddddd || Date as long date format (system-dependent) || 02 January 2006
|-
| h || Hour without leading zero || 3
|-
| hh || Hour with leading zero || 03
|-
| n || Minute without leading zero || 5
|-
| nn || Minute with leading zero || 05
|-
| s || Second without leading zero || 44
|-
| ss || Second with leading zero || 44
|-
| z || Millisecond without leading zero ||21
|-
| zzz || Millisecond as 3 digits || 021
|-
| am/pm || Time in 12-hour format with "am" or "pm" || am
|-
| a/p || Time in 12-hour format with "a" or "p" || a
|-
| t || Short time format (system-dependent) || 3:05
|-
| tt || Long time format (system-dependent) || 3:05:44
|-
| c || Short date format + long time format (system-dependent) || 02/01/2006 3:05:44
|}
 
 
== See also ==
* [[Plugin:HistoryPP/de#Hidden_options | History++ - Hidden options]]


== Siehe auch ==
* [[Plugin:HistoryPP/de#Versteckte_Einstellungen|History++ - Versteckte Einstellungen]]


[[Category:Anleitungen]]
[[Category:Anleitungen]]

Latest revision as of 17:35, 28 June 2015

DateTimeFormat STRING-Schlüssel wird verwendet um die Datum/Zeitdarstellung im Verlauf zu ändern. Sie benötigen Database Editor um diese Schlüssel hinzuzufügen/zu ändern.

Einfache Beispiele

Beispiel: 2. Januar 2006, 3:05:44

Wert Ergebnis Anmerkung
c 02/01/2006 3:05:44 Datum- und Zeitformat ist Standardsystemformat
ddd, mmm d, yy Mo, Jan. 2, 06
dd/mm/yyyy hh:nn:ss 02/01/2006 3:05:44
dddd, d mmmm, yyyy Montag, 2 Januar, 2006
hh:nn am/pm 03:05 am am/pm wandelt Zeit in 12-Stunden-Format um.
h:n:s a/p 3:5:44 a a/p wandelt Zeit in 12-Stunden-Format um.

Format

Hier ist eine vollständige Liste aller Variablen mit Beispielen für Tag und Zeit 2. Januar 2006, 3:05:44:

Wert Beschreibung Beispiel
y Jahr, letzte 2 Stellen 06
yy Jahr, letzte 2 Stellen 06
yyyy Jahr in 4 Stellen 2006
m Monatsnummer ohne führende Null 1
mm Monatsnummer mit führender Null 01
mmm Kurzer Monatsname Jan.
mmmm Voller Monatsname Januar
d Tagesnummer ohne führende Null 2
dd Tagesnummer mit führender Null 02
ddd Kurzer Tagesname Mo
dddd Voller Tagesname Montag
ddddd Datum im kurzen Datumsformat (systemabhängig) 02/01/2006
dddddd Datum im langen Datumsformat (systemabhängig) 02 Januar 2006
h Stunde ohne führende Null 3
hh Stunde mit führender Null 03
n Minute ohne führende Null 5
nn Minute mit führender Null 05
s Sekunde ohne führende Null 44
ss Sekunde mit führender Null 44
z Millisekunden ohne führende Null 21
zzz Millisekunden in 3 Stellen 021
am/pm Zeit im 12-Stunden-Format mit "am" oder "pm" am
a/p Zeit im 12-Stunden-Format mit "a" oder "p" a
t Kurzes Zeitformat (systemabhängig) 3:05
tt Langes Zeitformat (systemabhängig) 3:05:44
c Kurzes Datumsformat + langes Zeitformat (systemabhängig) 02/01/2006 3:05:44

Siehe auch