http://www.perlmonks.org?node_id=145202


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