Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 cooling their heels in the Monastery: (8)
As of 2014-09-16 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (13 votes), past polls