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

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.

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'


    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://145202]
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2018-06-20 08:35 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.