Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
No such thing as a small change
 
PerlMonks  

Re^2: strftime reference

by holli (Abbot)
on Feb 24, 2005 at 13:44 UTC ( [id://434188]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://434188]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.