Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: strftime reference

by holli (Monsignor)
on Feb 24, 2005 at 18:44 UTC ( #434188=note: print w/replies, xml ) Need Help??

in reply to Re: strftime reference
in thread strftime reference for Win32

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 p: am/pm/empty 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.

holli, /regexed monk/

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://434188]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2018-04-24 17:15 GMT
Find Nodes?
    Voting Booth?