Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: date

by count0 (Friar)
on Feb 13, 2002 at 16:55 UTC ( #145202=note: print w/ replies, xml ) Need Help??


in reply to Re: date
in thread Year shows as 20102 in date

For those that are a bit uneasy with using POSIX, Date::Format has a compatible strftime().

I'm not quite sure what little is on about below, with other languages, and Apache... =/
But Date::Format (or POSIX::strftime) is definitely what you're looking for.


Comment on Re: Re: date
Download Code
Re: Re: Re: date
by little (Curate) on Feb 13, 2002 at 19:04 UTC
    Date::Format allows to say as an Option for example 'german'

    Date::Format->language('German');

    which causes a format of like "%A, den %d. %B %Y" to display as 'Mittwoch, den 13. Februar 2002'
    And thats just noted in the POD. So simply change this option to english and you get the date in english, ok, there you need to provide a different Format though. But could it be any easier than this?

    Have a nice day
    All decision is left to your taste

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://145202]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-10-23 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls