Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
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 imbibing at the Monastery: (7)
As of 2014-04-19 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (477 votes), past polls