Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Answer: Is there a shorter way to create a german time string?

( #42499=categorized answer: print w/ replies, xml ) Need Help??

Q&A > dates and times > Is there a shorter way to create a german time string? contributed by Fastolfe

If you're familiar with POSIX's strftime function, you can use Perl's locale features to modify strftime's behavior, depending upon the current locale.
use POSIX qw(locale_h setlocale strftime); setlocale(LC_TIME, "de"); $de_time = strftime(...);

Comment on Answer: Is there a shorter way to create a german time string?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2014-11-28 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (193 votes), past polls