Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: date

by count0 (Friar)
on Feb 13, 2002 at 16:55 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://145202]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found