Yes, I did not think of that. Here is the output for a german system.
a: Day of Week (short, text) Do
A: Day of Week (long, text) Donnerstag
b: Monthname (short, text) Feb
B: Monthname (long, text) Februar
c: Full datetime (number, long) 24.02.2005 19:42:04
d: Day (number) 24
H: Hour (24 hour) (number) 19
I: Hour (12 hour) (number) 07
j: Day of year (number) 055
m: Month (number) 02
M: Minutes (number) 42
S: Seconds (number) 04
U: Week of Year (number) 08
w: Day of week (number) 4
W: Week of Year (number) 08
x: date (number) 24.02.2005
X: time (number) 19:42:04
y: year (short, number) 05
Y: year (long, number) 2005
Z: timezone (text) Westeuropäische Normalzeit
As one can see, %p is empty here, because the locale is set to 24 hours. %x, %X and %c are different too.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||