Linux Calendar: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(→Codes) |
|||
Regel 34: | Regel 34: | ||
%Z - Time zone name | %Z - Time zone name | ||
%% - Literal % character | %% - Literal % character | ||
+ | </pre> | ||
+ | |||
+ | == Voorbeelden == | ||
+ | |||
+ | Standaard: | ||
+ | |||
+ | %A %B %e, %H:%M | ||
+ | |||
+ | Bv. <code>Saturday May 12, 16:18</code> | ||
+ | |||
+ | Mijn standaard: | ||
+ | |||
+ | Wk %W - %a %d %m %y%A %B %e, %H:%M | ||
− | |||
== Bronnen == | == Bronnen == |
Versie van 12 mei 2018 14:18
Rechtsonder in de system tray (toch?) heb je meestal datum + tijd. Dat kun je aanpassen. Ik wil graag weeknumers en secondes toevoegen.
Codes
Voor een completere lijst, zie [1]
%a - The abbreviated weekday name (Sun) %A - The full weekday name (Sunday) %b - The abbreviated month name (Jan) %B - The full month name (January) %d - Day of the month (01..31) %e - Day of the month (1..31) %H - Hour of the day, 24-hour clock (00..23) %I - Hour of the day, 12-hour clock (01..12) %l - Hour of the day () %j - Day of the year (001..366) %m - Month of the year (01..12) %M - Minute of the hour (00..59) %p - Meridian indicator (AM or PM) %S - Second of the minute (00..60) %U - Week number of the year (Sunday as the first day of the week) 39 as a zero padded decimal number. All days in a new year pre- ceding the first Sunday are considered to be in week 0. %W - Week number of the year (Monday as the first day of the week) 39 as a decimal number. All days in a new year preceding the first Monday are considered to be in week 0. %w - Day of the week (Sunday is 0, 0..6) %y - Year without a century (00..99) %Y - Year with century %Z - Time zone name %% - Literal % character
Voorbeelden
Standaard:
%A %B %e, %H:%M
Bv. Saturday May 12, 16:18
Mijn standaard:
Wk %W - %a %d %m %y%A %B %e, %H:%M