Mit dem [Date] Platzhalter haben Sie die Möglichkeit ein individuelles Zeit Format zu verwenden. y = Year last 2 digits yy = Year last 2 digits yyyy = Year as 4 digits m = Month number no-leading 0 mm = Month number as 2 digits mmm = Month using ShortDayNames (Jan) mmmm = Month using LongDayNames (January) d = Day number no-leading 0 dd = Day number as 2 digits ddd = Day using ShortDayNames (Sun) dddd = Day using LongDayNames (Sunday) ddddd = Day in ShortDateFormat dddddd = Day in LongDateFormat c = Use ShortDateFormat + LongTimeFormat h = Hour number no-leading 0 hh = Hour number as 2 digits n = Minute number no-leading 0 nn = Minute number as 2 digits s = Second number no-leading 0 ss = Second number as 2 digits z = Milli-sec number no-leading 0s zzz = Milli-sec number as 3 digits t = Use ShortTimeFormat tt = Use LongTimeFormat am/pm = Use after h : gives 12 hours + am/pm a/p = Use after h : gives 12 hours + a/p ampm = As a/p but TimeAMString,TimePMString / = Substituted by DateSeparator value : = Substituted by TimeSeparator value Informationen zur Formatierung DateSeparator = / TimeSeparator = : ShortDateFormat = dd/mm/yyyy LongDateFormat = dd mmm yyyy ShortTimeFormat = hh:mm LongTimeFormat = hh:mm:ss ShortMonthNames = Jan Feb ... LongMonthNames = January, February ... ShortDayNames = Sun, Mon ... LongDayNames = Sunday, Monday ... Beispiele: [Date:dd/mm/yy hh:nn] → 01.01.24 09:34
[Date:d.m.yyyy] → 1.1.2024
[Date:ddddd] → 01.01.2024
[Date:dddddd] → 1 January 24
[Date:yyyy.mm.dd hh:nn:ss] → 2024.01.01 09:34:05
|